SDL: Changed SDL_bool from an enum to unsigned int

From a76d8e39aa3c7e136eba58290880a7cbbc4f5faf Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 3 Nov 2023 08:44:26 -0700
Subject: [PATCH] Changed SDL_bool from an enum to unsigned int

Fixes https://github.com/libsdl-org/SDL/issues/7957
---
 include/SDL3/SDL_stdinc.h | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h
index a3d63325c3f2..43aaafc03adc 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.