summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/types.h b/types.h
index 04b6dea..f8a0716 100644
--- a/types.h
+++ b/types.h
@@ -60,6 +60,8 @@ typedef uint64_t U64;
#elif defined __cplusplus
#else
typedef U8 bool;
+#define false ((bool)0)
+#define true ((bool)1)
#endif