Browse Source

Revert "Treat booleans as bool"

This reverts commit 2dcf237dd2.
As BOOLs are loaded as 32bit uint the swap would break the value on big
endian if mapped to bool (8bit)
pull/557/head
Anders Jenbo 6 years ago
parent
commit
e279fc2fe6
  1. 3
      SourceS/miniwin/misc.h

3
SourceS/miniwin/misc.h

@ -8,6 +8,7 @@ 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;
@ -19,7 +20,7 @@ typedef UCHAR *PUCHAR;
typedef char *PSZ;
typedef uint32_t DWORD;
typedef bool BOOL, BOOLEAN, WINBOOL;
typedef int BOOL, WINBOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef float FLOAT;

Loading…
Cancel
Save