On Wed, 2009-03-11 at 11:06 +0100, Joerg Schilling wrote:
> 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.

It's more clear to me. Another question, what do you mean by "typical
extensions"? What's the relation between these extensions and the macro
__EXTENSIONS__?

Thanks!

> 
> J?rg
> 


Reply via email to