summaryrefslogtreecommitdiff
path: root/Xosdefs.h
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-05-08 12:16:15 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-05-08 12:16:15 -0700
commite3035a7e6e56e01eb79478ea5342e032ec67a190 (patch)
treec5bc9f1ed96a94483add83593f2044a96eb5f1bf /Xosdefs.h
parent05b119d78e1c6a4db563b2a976cee0173489f9b6 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xosdefs.h b/Xosdefs.h
index 903a5a0..a0b2e3e 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -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__