aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-11-23 12:25:37 +0000
committerGinger Bill <bill@gingerbill.org>2016-11-23 12:25:37 +0000
commita77c6b3e55c5857c9c0ba36baae2dbdcd7564cd4 (patch)
treeb53241533f12e6f9075026a77860a9cc1dd5baa0 /src/common.cpp
parentef8563a818812493c33e34a259189757d0e7612b (diff)
Compile as C! Whoop!
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp
index db946d5f3..d1ca1a8db 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -2,6 +2,8 @@
#define GB_IMPLEMENTATION
#include "gb/gb.h"
+typedef _Bool bool;
+
gbAllocator heap_allocator(void) {
return gb_heap_allocator();
}