# HG changeset patch
# User David A. Holland
# Date 1621656245 14400
# Node ID 256f51fde64cbe6196a308caf6768dba14723513
# Parent  f6f2c7a9d7d853d85b3745ee27d7713944fab285
Use the correct feature test macro for stdbool.h; noticed by mrg.

diff -r f6f2c7a9d7d8 -r 256f51fde64c CHANGES
--- 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.
diff -r f6f2c7a9d7d8 -r 256f51fde64c bool.h
--- 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;