diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-06-09 00:47:25 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-06-09 00:47:25 -0700 |
commit | a2a0f01d367050ca182927b8219deb581a497c2c (patch) | |
tree | 4057042a59ef10ad4c45a56a68df427f3be2ab5c | |
parent | 1defe6b37c23941fe2a67ad4fa66e8ab5f37f9b3 (diff) |
Apple: Only define _DARWIN_C_SOURCE if it isn't already defined
-rw-r--r-- | Xosdefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -142,8 +142,10 @@ in this Software without prior written authorization from The Open Group. * loosen our belts a tad. */ #if defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) +#ifndef _DARWIN_C_SOURCE #define _DARWIN_C_SOURCE #endif +#endif #endif |