aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarvin Borner2020-07-22 00:50:41 +0200
committerMarvin Borner2020-07-22 00:50:41 +0200
commit16604c4ea0ebe44f12741d3d6efed0dc1867204f (patch)
tree7560d30955b7619ca53b2b69b4bc8332054e37f5 /src/lib
parenta06e4d3a2e0c00210b54f5c060e90c8e5b425646 (diff)
Okidoki, seems to work!
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/def.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/def.h b/src/lib/def.h
new file mode 100644
index 0000000..dc3cc55
--- /dev/null
+++ b/src/lib/def.h
@@ -0,0 +1,18 @@
+#ifndef DEF_H
+#define DEF_H
+
+typedef signed char s8;
+typedef unsigned char u8;
+
+typedef signed short s16;
+typedef unsigned short u16;
+
+typedef signed int s32;
+typedef unsigned int u32;
+
+typedef signed long long s64;
+typedef unsigned long long u64;
+
+#define NULL ((void *)0)
+
+#endif