mirror of
https://github.com/reactos/reactos.git
synced 2025-05-22 18:45:00 +00:00
[SDK] Workaround MSVC2010 not having _Bool type
CORE-16366
This commit is contained in:
parent
6e3c0d360b
commit
ddc853a4be
1 changed files with 4 additions and 0 deletions
|
@ -28,7 +28,11 @@
|
|||
|
||||
/* Don't define bool, true, and false in C++, except as a GNU extension. */
|
||||
#ifndef __cplusplus
|
||||
#if _MSC_VER <= 1600
|
||||
#define bool unsigned char
|
||||
#else
|
||||
#define bool _Bool
|
||||
#endif
|
||||
#define true 1
|
||||
#define false 0
|
||||
#elif defined(__GNUC__) && !defined(__STRICT_ANSI__)
|
||||
|
|
Loading…
Reference in a new issue