diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index d958eb293b..0daf8cd5c7 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -38,6 +38,10 @@ #if defined(_MSC_VER) && (_MSC_VER < 1910) #define SDL_DEFINE_STDBOOL #endif +/* gcc-2.95 had non-standard stdbool.h */ +#if defined(__GNUC__) && (__GNUC__ < 3) +#define SDL_DEFINE_STDBOOL +#endif #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #include