Re: GCC predefines
Zack Weinberg <zack@codesourcery.com> writes:
> so indeed it looks like neither 'unix' nor '__unix__' is defined.
> (I imagine a patch to define __unix__ would be acceptable, but we
> are not adding any more predefined symbols that violate the user's
> namespace.)
I'd assume that this would be added through builtin_define, right? In
this case, it would define __unix__ and __unix unconditionally, and
unix unless -std=c89 is given.
However, it would be good to consult NetBSD authors - apparently,
their GCC had never defined unix.
Regards,
Martin
Reply to: