SDL_hidapi_steam.c: Fix compilation under c2x.
When N2935 is implemented, the enum breaks compilation. Use a #define of the SDL booleans instead. (cherry picked from commit975039ce0d) (cherry picked from commited5a343d25)
This commit is contained in:
1 parent
086322076a
commit
f84428ca01
1 file changed
+3
-5
@@ -37,11 +37,9 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
false,
|
||||
true
|
||||
} bool;
|
||||
#define bool SDL_bool
|
||||
#define true SDL_TRUE
|
||||
#define false SDL_FALSE
|
||||
|
||||
typedef uint32_t uint32;
|
||||
typedef uint64_t uint64;
|
||||
|
||||
Reference in new issue
Block a user