aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.