diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-05-08 12:16:15 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-05-08 12:16:15 -0700 |
commit | e3035a7e6e56e01eb79478ea5342e032ec67a190 (patch) | |
tree | c5bc9f1ed96a94483add83593f2044a96eb5f1bf /Xosdefs.h | |
parent | 05b119d78e1c6a4db563b2a976cee0173489f9b6 (diff) |
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
Diffstat (limited to 'Xosdefs.h')
-rw-r--r-- | Xosdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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__ |