Check to avoid bool redefinition
This commit is contained in:
parent
7114c1b1f3
commit
399d4b5f46
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
// Boolean type
|
// Boolean type
|
||||||
#if !defined(_STDBOOL_H) || !defined(__STDBOOL_H) // CLang uses second form
|
#ifndef bool
|
||||||
typedef enum { false, true } bool;
|
typedef enum { false, true } bool;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue