From 2381cf362c51c54d60d48c7260bf33270936151e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 13 Oct 2015 00:52:38 +0200 Subject: stdbool.h requires c99 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/stdbool.h | 3 +++ 1 file changed, 3 insertions(+) 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 #include +#if !defined(_SLIBC_SUPPRESS_WARNINGS) && !defined(__C99__) +# warning " requires that C99 or newer revision is used." +#endif /* These should be macros, because the user is allowed to undefine them. -- cgit v1.2.3-70-g09d2