From 7edf7fad66497508567113bf64dc1e995939375d Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 18 Sep 2024 21:40:50 +0300 Subject: [PATCH] fix bool define when SDL_DEFINE_STDBOOL is defined: it should be unsigned. --- include/SDL3/SDL_stdinc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index 0daf8cd5c7..8818cda584 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/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