From 2b34cf7965df65eff6742ed0e1a0b0f37200c189 Mon Sep 17 00:00:00 2001 From: Clownacy <Clownacy@users.noreply.github.com> Date: Mon, 20 Jan 2020 23:47:33 +0000 Subject: [PATCH] Typedef BOOL to bool Since we're not converting to C anymore, it should be fine to rely on this standard C++ type. --- src/WindowsWrapper.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/WindowsWrapper.h b/src/WindowsWrapper.h index 2427cfdf..f27d8e3f 100644 --- 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 {