Browse Source

fix bool define when SDL_DEFINE_STDBOOL is defined:

it should be unsigned.
Ozkan Sezer 11 months ago
parent
commit
7edf7fad66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL3/SDL_stdinc.h

+ 1 - 1
include/SDL3/SDL_stdinc.h

@@ -51,7 +51,7 @@
 #ifdef SDL_DEFINE_STDBOOL
 #ifndef __bool_true_false_are_defined
 #define __bool_true_false_are_defined 1
-#define bool  int8_t
+#define bool  uint8_t
 #define false 0
 #define true  1
 #endif