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, 15 Nov 2005, Robert Millan wrote:

> ITYM:
> 
>   #include <features.h>
>   #ifdef __GLIBC__
> 
> The problem with this is, that you have no garantee <features.h> exists untill
> you have identified the C library implementation somehow, so you can't include
> it yet (chicken and egg).

 Then use <stdlib.h> -- it'd better exist everywhere.

  Maciej


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