changeset 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 |
f6f2c7a9d7d8 |
children |
|
files |
CHANGES bool.h |
diffstat |
2 files changed, 2 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/CHANGES Mon Jan 21 21:41:38 2019 -0500
+++ b/CHANGES Sat May 22 00:04:05 2021 -0400
@@ -1,5 +1,6 @@
release [pending]
- also recognize __riscv128__; may as well.
+ - use the correct feature-test macro for stdbool.h, noticed by mrg.
release 0.5.3 (20190121)
- Fix markup typo in the man page.
--- a/bool.h Mon Jan 21 21:41:38 2019 -0500
+++ b/bool.h Sat May 22 00:04:05 2021 -0400
@@ -30,7 +30,7 @@
#ifndef BOOL_H
#define BOOL_H
-#if __STDC__ > 199901
+#if __STDC_VERSION__ >= 199901
#include <stdbool.h>
#else
typedef int bool;