X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/9385eb3d10ebe5eb398c52040ec3dbfba9b0cdcf..6dccf0e0b5e80b7b6176e8d332e646175431bb3d:/include/iso646.h diff --git a/include/iso646.h b/include/iso646.h index 392b19f..71cf9b5 100644 --- a/include/iso646.h +++ b/include/iso646.h @@ -29,6 +29,11 @@ #ifndef _ISO646_H_ #define _ISO646_H_ +#include + +#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_ */