From 465b8461c6a983faf008c2e9a123aca959515cbd Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Tue, 11 Mar 2025 09:21:35 -0600 Subject: [PATCH] tradcpp: fix bool issue with newer compilers (GCC 15) tradcpp/bool.h used the wrong check for determining C99+ stdbool.h support by the compiler. Use __STDC_VERSION__ rather than __STDC__. --- cde/util/tradcpp/bool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/util/tradcpp/bool.h b/cde/util/tradcpp/bool.h index cf86ffb2c..3f42590ec 100644 --- a/cde/util/tradcpp/bool.h +++ b/cde/util/tradcpp/bool.h @@ -30,7 +30,7 @@ #ifndef BOOL_H #define BOOL_H -#if __STDC__ > 199901 +#if __STDC_VERSION__ > 199901 #include #else typedef int bool;