[Server] Add true/false defines

This commit is contained in:
Koncord 2019-01-24 00:08:37 +08:00
parent 042a7fa51b
commit c550697443

View file

@ -25,4 +25,6 @@ typedef unsigned int PlayerId;
#if !(defined __cplusplus || defined __genffi__) #if !(defined __cplusplus || defined __genffi__)
typedef uint8_t bool; typedef uint8_t bool;
#define true 1
#define false 0
#endif #endif