Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: build on os x 10.6.7, xcode 3.2.6
On Apr 13, 5:26pm, Peter Stephenson wrote:
}
} Changing random source code options often has side effects.
I thought that change looked a bit questionable. There aren't
very many of these kinds of preprocessor directives that it's
appropriate to define unconditionally, and I don't see any
reason to remove the #if / _GNU_SOURCE definition, independent
of defining _POSIX_C_SOURCE.
} --- zsh-4.3.11/Src/system.h 2010-02-22 11:12:31.000000000 +0100
} +++ zsh/Src/system.h 2011-04-12 14:20:37.106000061 +0200
} @@ -37,13 +37,12 @@
} #endif
} #endif
}
} -#if defined(__linux) || defined(__GNU__) || defined(__GLIBC__)
} /*
} * Turn on numerous extensions.
} * This is in order to get the functions for manipulating /dev/ptmx.
} */
} #define _GNU_SOURCE 1
} -#endif
} +#define _POSIX_C_SOURCE 200809L
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author