From a77c6b3e55c5857c9c0ba36baae2dbdcd7564cd4 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Wed, 23 Nov 2016 12:25:37 +0000 Subject: Compile as C! Whoop! --- src/common.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common.cpp') 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(); } -- cgit v1.2.3