aboutsummaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
index 66bffb4..1ed2282 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -8,8 +8,16 @@
#ifndef DEFS_H_
#define DEFS_H_
+#ifndef NULL
+#define NULL 0
+#endif
+
+#ifndef TRUE
#define TRUE 1
+#endif
+#ifndef FALSE
#define FALSE 0
+#endif
typedef unsigned char u8;
typedef signed char s8;