projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not add searchpath stuff into parse_headername
[cparser]
/
win32
/
stdbool.h
diff --git
a/win32/stdbool.h
b/win32/stdbool.h
index
c009a54
..
40e2184
100644
(file)
--- a/
win32/stdbool.h
+++ b/
win32/stdbool.h
@@
-7,10
+7,17
@@
#ifndef __cplusplus
#ifndef __cplusplus
-#define bool int
-#define true 1
-#define false 0
+#ifdef __INTEL_COMPILER
+#define bool _Bool
+#define true ((_Bool)1)
+#define false ((_Bool)0)
+#else
+#define bool unsigned
+#define true 1
+#define false 0
+
+#endif
#endif /* __cplusplus */
#endif /* __cplusplus */
-#endif
/* stdbool.h */
+#endif