projects
/
platform
/
upstream
/
SPIRV-Headers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regenerate the headers
[platform/upstream/SPIRV-Headers.git]
/
include
/
spirv
/
unified1
/
spirv.hpp11
diff --git
a/include/spirv/unified1/spirv.hpp11
b/include/spirv/unified1/spirv.hpp11
index
f1fd764
..
8ed05d3
100644
(file)
--- a/
include/spirv/unified1/spirv.hpp11
+++ b/
include/spirv/unified1/spirv.hpp11
@@
-1839,6
+1839,9
@@
enum class Op : unsigned {
};
#ifdef SPV_ENABLE_UTILITY_CODE
+#if !defined(__cplusplus) && !defined(bool)
+# include <stdbool.h>
+#endif
inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
*hasResult = *hasResultType = false;
switch (opcode) {