mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-07 22:03:20 +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
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user