diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index a3d63325c3..43aaafc03a 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -122,18 +122,12 @@ char *alloca(); */ /* @{ */ -#ifdef __CC_ARM -/* ARM's compiler throws warnings if we use an enum: like "SDL_bool x = a < b;" */ +/** + * \brief A boolean type. + */ #define SDL_FALSE 0 #define SDL_TRUE 1 -typedef int SDL_bool; -#else -typedef enum -{ - SDL_FALSE = 0, - SDL_TRUE = 1 -} SDL_bool; -#endif +typedef unsigned int SDL_bool; /** * \brief A signed 8-bit integer type.