]> git.saurik.com Git - apple/libc.git/blobdiff - include/iso646.h
Libc-498.tar.gz
[apple/libc.git] / include / iso646.h
index 392b19f0b53f1460be57f54c010719c5b12f5597..71cf9b541f8fdb97de5e129d153e67dfb700f46f 100644 (file)
 #ifndef _ISO646_H_
 #define        _ISO646_H_
 
+#include <sys/cdefs.h>
+
+#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
+
+#ifndef __cplusplus
 #define        and     &&
 #define        and_eq  &=
 #define        bitand  &
@@ -40,5 +45,8 @@
 #define        or_eq   |=
 #define        xor     ^
 #define        xor_eq  ^=
+#endif /* ! __cplusplus */
+
+#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
 
 #endif /* !_ISO646_H_ */