[PATCH] #undef __GLIBC__

Maciej W. Rozycki macro@linux-mips.org
Tue Nov 15 18:17:00 GMT 2005


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



More information about the Libc-alpha mailing list