comparison bool.h @ 209:256f51fde64c default tip

Use the correct feature test macro for stdbool.h; noticed by mrg.
author David A. Holland
date Sat, 22 May 2021 00:04:05 -0400
parents 4c3375895c6e
children
comparison
equal deleted inserted replaced
208:f6f2c7a9d7d8 209:256f51fde64c
28 */ 28 */
29 29
30 #ifndef BOOL_H 30 #ifndef BOOL_H
31 #define BOOL_H 31 #define BOOL_H
32 32
33 #if __STDC__ > 199901 33 #if __STDC_VERSION__ >= 199901
34 #include <stdbool.h> 34 #include <stdbool.h>
35 #else 35 #else
36 typedef int bool; 36 typedef int bool;
37 #define true 1 37 #define true 1
38 #define false 0 38 #define false 0