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__.
This commit is contained in:
Jon Trulson
2025-03-11 09:21:35 -06:00
parent 38a1b9fcca
commit 465b8461c6

View File

@@ -30,7 +30,7 @@
#ifndef BOOL_H
#define BOOL_H
#if __STDC__ > 199901
#if __STDC_VERSION__ > 199901
#include <stdbool.h>
#else
typedef int bool;