On Jan 28, 2015, at 2:27 AM, Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote: > There are two ways to fix this: > > * Remove the definition of _XOPEN_SOURCE completely. This is slightly > more risky, but more future-proof since defining features test macros > has been an endless source of trouble in the past.
I think I prefer this one... But, as I say that, I read: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4372 and there is no hint what host caused him to put the change in, in the first place. :-( Alexandre, do you recall what host needed the _XOPEN_SOURCE in libobjc for pthread_mutexattr_settype? Anyway, going forward, I would say that any target that needs a specific value should just put in the #ifdef arch #define XPOPEN val #end, if they need it.