Ke Wang <Ke.Wang at Sun.COM> wrote:

> I don't know why two different conditional macros are used. Perhaps this
> is a bug?
>
> BTW, I don't find the _GNU_SOURCE in sys/feature_test.h, so I think this
> macro is not used in Solaris, and the "-D_GNU_SOURCE" will not make
> sense. The result will be the same as just removing "_D_POSIX_C_SOURCE",
> so I'll update the patch to remove "-D_GNU_SOURCE".

As I mentioned yesterday:

"-D_GNU_SOURCE" is a Linuxism that is the "opposite of" "-D_POSIX_C_SOURCE".

_GNU_SOURCE enables those typical extensions on Linux that are visible
on Solaris by default.

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to