mirror of
https://github.com/reactos/reactos.git
synced 2026-05-29 21:19:51 +08:00
[SDK] Workaround MSVC2010 not having _Bool type
CORE-16366
This commit is contained in:
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user