diff options
author | Jakob Kaivo <jkk@ung.org> | 2022-04-21 21:11:15 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2022-04-21 21:11:15 -0400 |
commit | 0843fbd9d8dc18beb15d38f154c3da2720cb2264 (patch) | |
tree | 71cc887e115814df9de61ff269175b22d1708340 | |
parent | 9d2095a22226b1d3d2c4e1331fe7d517f0f9abce (diff) |
cleanup
-rw-r--r-- | stdbool.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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 <stdbool.h> 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 |