mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 11:35:08 -04:00
Fix OSX build
This commit is contained in:
parent
6d275b5cd7
commit
e8bc122b8d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user