diff options
author | rsc <devnull@localhost> | 2005-07-13 21:34:11 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-13 21:34:11 +0000 |
commit | a8ec4910fd7d67df09ca79179dff8a344cc13cf2 (patch) | |
tree | 9dbb20f00bd6ec3a3fee026473f43e85f49f5c77 /include | |
parent | f462256db27f827590a5867e046d0bbbb8eb368a (diff) | |
download | plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.tar.gz plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.tar.bz2 plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.zip |
apple
Diffstat (limited to 'include')
-rw-r--r-- | include/u.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/u.h b/include/u.h index 8e889e63..1489ebd8 100644 --- a/include/u.h +++ b/include/u.h @@ -10,8 +10,10 @@ extern "C" { #define _BSD_SOURCE 1 #define _NETBSD_SOURCE 1 /* NetBSD */ #define _SVID_SOURCE 1 -#define _XOPEN_SOURCE 1000 -#define _XOPEN_SOURCE_EXTENDED 1 +#ifndef __APPLE__ +# define _XOPEN_SOURCE 1000 +# define _XOPEN_SOURCE_EXTENDED 1 +#endif #define _LARGEFILE64_SOURCE 1 #define _FILE_OFFSET_BITS 64 @@ -78,6 +80,7 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)]; # endif # undef _ANSI_SOURCE # undef _POSIX_C_SOURCE +# undef _XOPEN_SOURCE # if !defined(NSIG) # define NSIG 32 # endif |