-Added BOOL type and TRUE and FALSE definitions(if they're not defined). When converting C++ -> C, please use this to convert bool variables
This commit is contained in:
parent
574603e7c5
commit
86979e44a7
|
@ -70,4 +70,14 @@ typedef signed long long s64;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef int BOOL;
|
||||||
|
|
||||||
|
#ifndef TRUE
|
||||||
|
#define TRUE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef FALSE
|
||||||
|
#define FALSE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue