From 0843fbd9d8dc18beb15d38f154c3da2720cb2264 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 21 Apr 2022 21:11:15 -0400 Subject: cleanup --- stdbool.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/stdbool.h b/stdbool.h index 3768ec9..46d637e 100644 --- a/stdbool.h +++ b/stdbool.h @@ -27,16 +27,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#if (defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__) -/* ./src/stdbool/__bool_true_false_are_defined.c */ +#if !(defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__) +# error requires C99 or higher +#endif + #define __bool_true_false_are_defined (1) -/* ./src/stdbool/bool.c */ #define bool _Bool -/* ./src/stdbool/false.c */ #define false (0) -/* ./src/stdbool/true.c */ #define true (1) -#endif - #endif -- cgit v1.2.1