summaryrefslogtreecommitdiff
path: root/include/iso646.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 21:59:38 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 21:59:38 -0500
commit8f4865c8d25e508154a1cb89291f79489a4b3b4c (patch)
tree601b9f3020f61e3e4d2f7661348681e741700fcb /include/iso646.h
parentdf6e3ec74a4801a067c269c108909fb41843be1e (diff)
downloadmusl-8f4865c8d25e508154a1cb89291f79489a4b3b4c.tar.gz
musl-8f4865c8d25e508154a1cb89291f79489a4b3b4c.tar.bz2
musl-8f4865c8d25e508154a1cb89291f79489a4b3b4c.tar.xz
musl-8f4865c8d25e508154a1cb89291f79489a4b3b4c.zip
add previously-missing ios646.hv0.5.9
Diffstat (limited to 'include/iso646.h')
-rw-r--r--include/iso646.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/iso646.h b/include/iso646.h
new file mode 100644
index 00000000..88ff53d7
--- /dev/null
+++ b/include/iso646.h
@@ -0,0 +1,20 @@
+#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