This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] #undef __GLIBC__
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Robert Millan <rmh at aybabtu dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 15 Nov 2005 10:56:03 +0100
- Subject: Re: [PATCH] #undef __GLIBC__
- References: <20051115094437.GC31043@aragorn>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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