[PATCH] #undef __GLIBC__

Robert Millan rmh@aybabtu.com
Tue Nov 15 09:43:00 GMT 2005


Hi,

On GNU/kFreeBSD, __GLIBC__ is a pre-processor macro.  This patch fixes
features.h to #undef it before re-defining it to its proper value.

2005-11-15  Robert Millan  <robertmh@gnu.org>

        * include/features.h: #undef __GLIBC__ before #define.

-- 
Robert Millan
-------------- next part --------------

2005-11-15  Robert Millan  <robertmh@gnu.org>

	* include/features.h: #undef __GLIBC__ before #define.

--- libc.old/include/features.h	2005-11-15 10:22:23.000000000 +0100
+++ libc/include/features.h	2005-11-15 10:28:51.000000000 +0100
@@ -293,6 +293,7 @@
 
 /* Major and minor version number of the GNU C library package.  Use
    these macros to test for features in specific releases.  */
+#undef	__GLIBC__
 #define	__GLIBC__	2
 #define	__GLIBC_MINOR__	4
 


More information about the Libc-alpha mailing list