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