mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
fix bool define when SDL_DEFINE_STDBOOL is defined:
it should be unsigned.
This commit is contained in:

committed by
Sam Lantinga

parent
ff90570a3c
commit
7edf7fad66
@@ -51,7 +51,7 @@
|
|||||||
#ifdef SDL_DEFINE_STDBOOL
|
#ifdef SDL_DEFINE_STDBOOL
|
||||||
#ifndef __bool_true_false_are_defined
|
#ifndef __bool_true_false_are_defined
|
||||||
#define __bool_true_false_are_defined 1
|
#define __bool_true_false_are_defined 1
|
||||||
#define bool int8_t
|
#define bool uint8_t
|
||||||
#define false 0
|
#define false 0
|
||||||
#define true 1
|
#define true 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user