This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] #undef __GLIBC__


On Tue, Nov 15, 2005 at 10:44:37AM +0100, Robert Millan wrote:
> 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.

That's IMNSHO the wrong fix.  You should change GCC, so that it doesn't
define __GLIBC__ as a preprocessor macro and rather use some
GCC/kFreeBSD specific macro instead.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]