projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91154c0
)
model-assert: include <stdbool.h>
author
Brian Norris
<banorris@uci.edu>
Fri, 8 Mar 2013 23:59:46 +0000
(15:59 -0800)
committer
Brian Norris
<banorris@uci.edu>
Fri, 8 Mar 2013 23:59:46 +0000
(15:59 -0800)
'bool' is not a built-in type in C. Include the (C99) <stdbool.h>
library.
include/model-assert.h
patch
|
blob
|
history
diff --git
a/include/model-assert.h
b/include/model-assert.h
index a091e15fd7efe672809830ed46fb028a2056217b..ddc44278b8a9f45a1ca36e4e957a16d684b15883 100644
(file)
--- a/
include/model-assert.h
+++ b/
include/model-assert.h
@@
-3,6
+3,8
@@
#if __cplusplus
extern "C" {
+#else
+#include <stdbool.h>
#endif
void model_assert(bool expr, const char *file, int line);