aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-13 00:52:38 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-13 00:52:38 +0200
commit2381cf362c51c54d60d48c7260bf33270936151e (patch)
tree957975510ebb24a5fc225ea2072831b384d3687e /include
parentinfo: iso646 (diff)
downloadslibc-2381cf362c51c54d60d48c7260bf33270936151e.tar.gz
slibc-2381cf362c51c54d60d48c7260bf33270936151e.tar.bz2
slibc-2381cf362c51c54d60d48c7260bf33270936151e.tar.xz
stdbool.h requires c99
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include')
-rw-r--r--include/stdbool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
index 794be99..ed160a8 100644
--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -20,6 +20,9 @@
#include <slibc/version.h>
#include <slibc/features.h>
+#if !defined(_SLIBC_SUPPRESS_WARNINGS) && !defined(__C99__)
+# warning "<stdbool.h> requires that C99 or newer revision is used."
+#endif
/* These should be macros, because the user is allowed to undefine them.