summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-03-24 16:46:11 +0100
committerMatthias Braun <matze@braunis.de>2014-03-24 16:46:11 +0100
commit3d44a66b471b2ac9525adf3909e737c6ddc297e8 (patch)
treeb791c98b838c3ab459dabffbe15cee6eedfc29e3 /include
parent0b00de3b2537902b86cd46754c414db4156a4a65 (diff)
add missing iso646 header
Diffstat (limited to 'include')
-rw-r--r--include/iso646.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/iso646.h b/include/iso646.h
new file mode 100644
index 0000000..84935d0
--- /dev/null
+++ b/include/iso646.h
@@ -0,0 +1,18 @@
+#ifndef _ISO646_H
+#define _ISO646_H
+
+#ifndef __cplusplus
+#define and &&
+#define and_eq &=
+#define bitand &
+#define bitor |
+#define compl ~
+#define not !
+#define not_eq !=
+#define or ||
+#define or_eq |=
+#define xor ^
+#define xor_eq ^=
+#endif
+
+#endif