]> git.saurik.com Git - apple/libc.git/blobdiff - include/standards.h
Libc-498.tar.gz
[apple/libc.git] / include / standards.h
index 322fd19f38cc1293a977fff9b2c16c3cdf6fcd16..0c18101b2ba336d1f64098241c8fe0504240e03f 100644 (file)
 #ifndef _STANDARDS_H
 #define _STANDARDS_H
 
-#ifdef _POSIX_C_SOURCE
+#include <sys/cdefs.h>
+
+#if defined(_POSIX_C_SOURCE) && !defined(_DARWIN_C_SOURCE)
 #        ifndef __STRICT_ANSI__
 #                define __STRICT_ANSI__
 #        endif
 #        undef __STRICT_BSD__
-#endif /* _POSIX_C_SOURCE */
+#endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */
 
 #endif /* _STANDARDS_H */