aboutsummaryrefslogtreecommitdiff
path: root/include/stdbool.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2014-04-07 00:30:31 +0200
committerMichael Matz <matz@suse.de>2014-04-07 00:30:31 +0200
commitf01373765b1ac5270fbb1859a2f6d42510f34cde (patch)
tree2d29442c150066816fe3d993cafbd01605298d7a /include/stdbool.h
parent0961a38493c545cd23a791cf66b45d8fc78accbd (diff)
downloadtinycc-f01373765b1ac5270fbb1859a2f6d42510f34cde.tar.gz
tinycc-f01373765b1ac5270fbb1859a2f6d42510f34cde.tar.bz2
stdbool.h: Make conformant to ISOC99
For conformance to ISO C the stdbool.h header has to provide the macro __bool_true_false_are_defined (defined to 1). Yep, that name is really in the standard.
Diffstat (limited to 'include/stdbool.h')
-rw-r--r--include/stdbool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
index 6ed13a6..d2ee446 100644
--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -6,5 +6,6 @@
#define bool _Bool
#define true 1
#define false 0
+#define __bool_true_false_are_defined 1
#endif /* _STDBOOL_H */