summaryrefslogtreecommitdiff
path: root/include/iso646.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
commitfc00c656c96528112d05cf0edf8631bd5eaea446 (patch)
treea6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/iso646.h
Add build system scaffolding and libc headers
Diffstat (limited to 'include/iso646.h')
-rw-r--r--include/iso646.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/iso646.h b/include/iso646.h
new file mode 100644
index 00000000..109cf6d6
--- /dev/null
+++ b/include/iso646.h
@@ -0,0 +1,16 @@
+#ifndef __ISO646_H
+#define __ISO646_H
+
+#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