summaryrefslogtreecommitdiffstats
path: root/include/iso646.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/iso646.h')
-rw-r--r--include/iso646.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/iso646.h b/include/iso646.h
index d38bf4b..a11101e 100644
--- a/include/iso646.h
+++ b/include/iso646.h
@@ -29,6 +29,8 @@
#ifndef _ISO646_H_
#define _ISO646_H_
+#ifndef __cplusplus
+
#define and &&
#define and_eq &=
#define bitand &
@@ -41,4 +43,6 @@
#define xor ^
#define xor_eq ^=
+#endif /* !__cplusplus */
+
#endif /* !_ISO646_H_ */
OpenPOWER on IntegriCloud