diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-13 00:52:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-13 00:52:38 +0200 |
commit | 2381cf362c51c54d60d48c7260bf33270936151e (patch) | |
tree | 957975510ebb24a5fc225ea2072831b384d3687e /include | |
parent | info: iso646 (diff) | |
download | slibc-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.h | 3 |
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. |