From eee9fc1ad184a884019f5359fca06e1863b310bb Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 20 Jan 2019 16:50:48 +0800 Subject: [PATCH] Use typedef instead define for bool --- apps/openmw-mp/Script/CTypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw-mp/Script/CTypes.h b/apps/openmw-mp/Script/CTypes.h index 29f40498a..f540a7fb9 100644 --- a/apps/openmw-mp/Script/CTypes.h +++ b/apps/openmw-mp/Script/CTypes.h @@ -24,5 +24,5 @@ typedef unsigned int PlayerId; #define InvalidPID ((unsigned int) -1) #if !defined __cplusplus -#define bool uint8_t -#endif \ No newline at end of file +typedef uint8_t bool; +#endif