about summary refs log tree commit diff
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
parentdf6e3ec74a4801a067c269c108909fb41843be1e (diff)
downloadmusl-8f4865c8d25e508154a1cb89291f79489a4b3b4c.tar.gz
musl-8f4865c8d25e508154a1cb89291f79489a4b3b4c.tar.xz
musl-8f4865c8d25e508154a1cb89291f79489a4b3b4c.zip
add previously-missing ios646.h v0.5.9
-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