The latter is obsolete and it's currently defined to 6 for historical reasons (as per comment in <features.h>) instead of 2 as what would be expected. Signed-off-by: Guillem Jover <guillem@xxxxxxxxxxx> --- sys-utils/ipcs.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c index ec0a1c2..876c967 100644 --- a/sys-utils/ipcs.c +++ b/sys-utils/ipcs.c @@ -90,11 +90,9 @@ union semun { #endif /* X/OPEN (Jan 1987) does not define fields key, seq in struct ipc_perm; - libc 4/5 does not mention struct ipc_term at all, but includes - <linux/ipc.h>, which defines a struct ipc_perm with such fields. glibc-1.09 has no support for sysv ipc. glibc 2 uses __key, __seq */ -#if defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1 +#if defined (__GLIBC__) && __GLIBC__ >= 2 #define KEY __key #else #define KEY key -- 1.6.4.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html