Fix OSX build

This commit is contained in:
UnknownShadow200 2019-10-12 11:53:48 +11:00
parent 6d275b5cd7
commit e8bc122b8d

View File

@ -97,12 +97,12 @@ typedef uintptr_t cc_uintptr;
#endif #endif
typedef cc_uint16 Codepoint; typedef cc_uint16 Codepoint;
typedef cc_uint8 cc_bool;
#ifdef __APPLE__ #ifdef __APPLE__
/* TODO: REMOVE THIS AWFUL AWFUL HACK */ /* TODO: REMOVE THIS AWFUL AWFUL HACK */
#include <stdbool.h> #include <stdbool.h>
#elif __cplusplus #elif __cplusplus
#else #else
typedef cc_uint8 cc_bool;
#define true 1 #define true 1
#define false 0 #define false 0
#endif #endif