From 2dcf237dd21535659660871b1426d10b72d1bfb8 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Mon, 6 Jan 2020 07:11:08 +0100 Subject: [PATCH] Treat booleans as bool The engine should now be stable/clean enough to hanlde all bool types as bool --- SourceS/miniwin/misc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SourceS/miniwin/misc.h b/SourceS/miniwin/misc.h index 46990a1c2..6ce382b8b 100644 --- a/SourceS/miniwin/misc.h +++ b/SourceS/miniwin/misc.h @@ -8,7 +8,6 @@ constexpr auto DVL_MAX_PATH = 260; typedef char CHAR; typedef uint16_t SHORT; typedef int32_t LONG; -typedef uint8_t BOOLEAN; typedef LONG *PLONG; typedef uint32_t ULONG; @@ -20,7 +19,7 @@ typedef UCHAR *PUCHAR; typedef char *PSZ; typedef uint32_t DWORD; -typedef int BOOL, WINBOOL; +typedef bool BOOL, BOOLEAN, WINBOOL; typedef unsigned char BYTE; typedef unsigned short WORD; typedef float FLOAT;