diff src/s/linux.h @ 30:ec9a17fef872 r19-15b98

Import from CVS: tag r19-15b98
author cvs
date Mon, 13 Aug 2007 08:52:29 +0200
parents 4103f0995bd7
children 8d2a9b52c682
line wrap: on
line diff
--- a/src/s/linux.h	Mon Aug 13 08:51:58 2007 +0200
+++ b/src/s/linux.h	Mon Aug 13 08:52:29 2007 +0200
@@ -236,13 +236,20 @@
 
 /* XEmacs addition: */
 /* Linux defines these in <values.h>, but they can't be used in #if's
-   Include values.h now so that we don't get complaints if it's included later. */
+   Include values.h now so that we don't get complaints if it's included
+   later.  This loses with glibc-2 (libc-6) */
+
+/* # include <features.h> */
+#if 0
+#if !(defined (__GLIBC__) && (__GLIBC__ >= 2))
 
 #include <values.h>
 #undef  SHORTBITS
 #undef  INTBITS
 #undef  LONGBITS
 
+#endif
+#endif
 /* The regex.o routines are a part of the GNU C-library used with Linux.  */
 /* However, sometimes they disagree with the src/regex.h that comes with Emacs,
    and that can make trouble in etags.c because it gets the regex.h from Emacs