ref: 2b34cf7965df65eff6742ed0e1a0b0f37200c189
parent: 92e5647f1105c9d80eb3ac43ef02bae3cdcc2abb
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Jan 20 18:47:33 EST 2020
Typedef BOOL to bool Since we're not converting to C anymore, it should be fine to rely on this standard C++ type.
--- a/src/WindowsWrapper.h
+++ b/src/WindowsWrapper.h
@@ -2,15 +2,10 @@
#include <stdio.h>
-typedef int BOOL;
+typedef bool BOOL;
-#ifndef FALSE
-#define FALSE 0
-#endif
-
-#ifndef TRUE
-#define TRUE 1
-#endif
+#define FALSE false
+#define TRUE true
struct RECT
{
--
⑨