Skip to content

Commit bf985e9

Browse files
author
Prokop Randacek
committed
regenerate headers
1 parent e148167 commit bf985e9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

include/spirv/unified1/spirv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,8 +1843,8 @@ typedef enum SpvOp_ {
18431843
} SpvOp;
18441844

18451845
#ifdef SPV_ENABLE_UTILITY_CODE
1846-
#if !defined(__cplusplus) && !defined(bool)
1847-
# include <stdbool.h>
1846+
#ifndef __cplusplus
1847+
#include <stdbool.h>
18481848
#endif
18491849
inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultType) {
18501850
*hasResult = *hasResultType = false;

include/spirv/unified1/spirv.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,8 +1839,8 @@ enum Op {
18391839
};
18401840

18411841
#ifdef SPV_ENABLE_UTILITY_CODE
1842-
#if !defined(__cplusplus) && !defined(bool)
1843-
# include <stdbool.h>
1842+
#ifndef __cplusplus
1843+
#include <stdbool.h>
18441844
#endif
18451845
inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
18461846
*hasResult = *hasResultType = false;

include/spirv/unified1/spirv.hpp11

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,8 +1839,8 @@ enum class Op : unsigned {
18391839
};
18401840

18411841
#ifdef SPV_ENABLE_UTILITY_CODE
1842-
#if !defined(__cplusplus) && !defined(bool)
1843-
# include <stdbool.h>
1842+
#ifndef __cplusplus
1843+
#include <stdbool.h>
18441844
#endif
18451845
inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
18461846
*hasResult = *hasResultType = false;

0 commit comments

Comments
 (0)