Explorar o código

fix bool define when SDL_DEFINE_STDBOOL is defined:

it should be unsigned.
Ozkan Sezer hai 1 ano
pai
achega
7edf7fad66
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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