Apple: Define _DARWIN_C_SOURCE otherwise _XOPEN_SOURCE, _POSIX_SOURCE, or _POSIX_C_SOURCE will cause fd_mask to not be defined due to the strict namespace

This commit is contained in:
Jeremy Huddleston 2008-05-08 12:16:15 -07:00
parent 05b119d78e
commit e3035a7e6e

View file

@ -135,6 +135,7 @@ in this Software without prior written authorization from The Open Group.
#ifdef __APPLE__
#define NULL_NOT_ZERO
#define _DARWIN_C_SOURCE
#endif
#ifdef __GNU__