summaryrefslogtreecommitdiff
path: root/stage3/def.h
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2022-10-06 16:45:17 +0200
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2022-10-06 16:45:17 +0200
commitf8397815545adb7d0da36614e0065aa68453a2e4 (patch)
treea771f526970c6724b2511577dceece8783450a49 /stage3/def.h
downloadcuddles-f8397815545adb7d0da36614e0065aa68453a2e4.tar.xz
Initial commit
Diffstat (limited to 'stage3/def.h')
-rw-r--r--stage3/def.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/stage3/def.h b/stage3/def.h
new file mode 100644
index 0000000..c2f8311
--- /dev/null
+++ b/stage3/def.h
@@ -0,0 +1,21 @@
+#ifndef _DEF_H_
+#define _DEF_H_
+
+#define nil ((void *) 0x0)
+
+typedef unsigned char u8;
+typedef signed char i8;
+
+typedef unsigned short u16;
+typedef short i16;
+
+typedef unsigned int u32;
+typedef int i32;
+
+typedef unsigned long u64;
+typedef long i64;
+
+typedef u64 usize;
+typedef i64 isize;
+
+#endif