Use typedef instead define for bool

This commit is contained in:
Koncord 2019-01-20 16:50:48 +08:00
parent 4ca5da5666
commit eee9fc1ad1

View file

@ -24,5 +24,5 @@ typedef unsigned int PlayerId;
#define InvalidPID ((unsigned int) -1)
#if !defined __cplusplus
#define bool uint8_t
#endif
typedef uint8_t bool;
#endif