disable bool definition if it is defined already
This commit is contained in:
@@ -23,7 +23,7 @@ typedef float f32;
|
|||||||
typedef double f64;
|
typedef double f64;
|
||||||
typedef void* ptr;
|
typedef void* ptr;
|
||||||
|
|
||||||
#if !__cplusplus
|
#if !__cplusplus && !defined(bool)
|
||||||
typedef u8 bool;
|
typedef u8 bool;
|
||||||
#define true 1
|
#define true 1
|
||||||
#define false 0
|
#define false 0
|
||||||
|
|||||||
Reference in New Issue
Block a user