--- a/ToolBox.h +++ b/ToolBox.h @@ -94,7 +94,7 @@ typedef Z_longword *Z_longwordp #define boolean bool #else typedef int boolean; - #ifndef I_STDBOOL + #if !defined(I_STDBOOL) && !(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) enum { false, true }; #endif #endif