From 16604c4ea0ebe44f12741d3d6efed0dc1867204f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 22 Jul 2020 00:50:41 +0200 Subject: Okidoki, seems to work! --- src/lib/def.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/lib/def.h (limited to 'src/lib/def.h') 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 -- cgit v1.2.3