Adds a missing macro definition check
This commit is contained in:
parent
0f98d78a67
commit
7019dd1bc3
|
|
@ -203,7 +203,7 @@
|
||||||
// Types and Structures Definition
|
// Types and Structures Definition
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
// Boolean type
|
// Boolean type
|
||||||
#if (defined(__STDC__) && __STDC_VERSION__ >= 199901L) || (defined(_MSC_VER) && _MSC_VER >= 1800)
|
#if (defined(__STDC__) && (defined(__STDC_VERSION__) && __STDC_VERSION__) >= 199901L) || (defined(_MSC_VER) && _MSC_VER >= 1800)
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#elif !defined(__cplusplus) && !defined(bool)
|
#elif !defined(__cplusplus) && !defined(bool)
|
||||||
typedef enum bool { false = 0, true = !false } bool;
|
typedef enum bool { false = 0, true = !false } bool;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user