https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117857

--- Comment #11 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #10)
> I think just ensuring that -D__DARWIN_UNIX03=1 is always passed to the
> preprocessor ought to be enough...

You can try it .. but the Darwin SDK headers are fiendishly complex, I would
not be at all surprised to see them override it - hence the suggestion would be
to find out (by inspecting them) under what conditions they would define
D__DARWIN_UNIX03 internally.  We can then see about making the compiler emit
whatever that depends on.

Reply via email to