diff --git a/CHANGES b/CHANGES index 36f4adf..a624dee 100644 --- a/CHANGES +++ b/CHANGES @@ -45,9 +45,6 @@ The following are the changes from calc version 2.14.3.5 to date: Fixed have_statfs optional executable file extension ${EXT{ in the ${UTIL_PROGS} make variable. - Prevented the "fake boolean value" when is missing, - from complicating C compilers post c17 standard. - Test if exists and set HAVE_STDINT_H accordingly in have_stdint.h. Added HAVE_STDINT_H to allow one to force this value. diff --git a/bool.h b/bool.h index 5e0d97a..e769b1e 100644 --- a/bool.h +++ b/bool.h @@ -42,9 +42,7 @@ #if !defined(HAVE_STDBOOL_H) /* fake a header file */ -#if __STDC_VERSION__ <= 201710 -typedef unsigned int bool; /* fake boolean typedef */ -#endif /* __STDC_VERSION__ <= 201710 */ +typedef unsigned char bool; /* fake boolean typedef */ #undef true #define true ((bool)(1)) #undef false