소스 검색

fix bool define when SDL_DEFINE_STDBOOL is defined:

it should be unsigned.
Ozkan Sezer 1 년 전
부모
커밋
7edf7fad66
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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