File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1843,8 +1843,8 @@ typedef enum SpvOp_ {
1843
1843
} SpvOp ;
1844
1844
1845
1845
#ifdef SPV_ENABLE_UTILITY_CODE
1846
- #if !defined( __cplusplus ) && !defined( bool )
1847
- # include <stdbool.h>
1846
+ #ifndef __cplusplus
1847
+ #include <stdbool.h>
1848
1848
#endif
1849
1849
inline void SpvHasResultAndType (SpvOp opcode , bool * hasResult , bool * hasResultType ) {
1850
1850
* hasResult = * hasResultType = false;
Original file line number Diff line number Diff line change @@ -1839,8 +1839,8 @@ enum Op {
1839
1839
};
1840
1840
1841
1841
#ifdef SPV_ENABLE_UTILITY_CODE
1842
- #if !defined( __cplusplus) && !defined(bool)
1843
- # include < stdbool.h>
1842
+ #ifndef __cplusplus
1843
+ #include < stdbool.h>
1844
1844
#endif
1845
1845
inline void HasResultAndType (Op opcode, bool *hasResult, bool *hasResultType) {
1846
1846
*hasResult = *hasResultType = false ;
Original file line number Diff line number Diff line change @@ -1839,8 +1839,8 @@ enum class Op : unsigned {
1839
1839
};
1840
1840
1841
1841
#ifdef SPV_ENABLE_UTILITY_CODE
1842
- #if !defined( __cplusplus) && !defined(bool)
1843
- # include <stdbool.h>
1842
+ #ifndef __cplusplus
1843
+ #include <stdbool.h>
1844
1844
#endif
1845
1845
inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
1846
1846
*hasResult = *hasResultType = false;
You can’t perform that action at this time.
0 commit comments