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