mirror of https://github.com/encounter/SDL.git
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 commit 975039ce0d3587c42e11f2922240957fc8f74166) (cherry picked from commit ed5a343d25fd12c199a1e0479e65d93cd60ccf3d)
This commit is contained in:
parent
086322076a
commit
f84428ca01
|
@ -37,11 +37,9 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef enum
|
#define bool SDL_bool
|
||||||
{
|
#define true SDL_TRUE
|
||||||
false,
|
#define false SDL_FALSE
|
||||||
true
|
|
||||||
} bool;
|
|
||||||
|
|
||||||
typedef uint32_t uint32;
|
typedef uint32_t uint32;
|
||||||
typedef uint64_t uint64;
|
typedef uint64_t uint64;
|
||||||
|
|
Loading…
Reference in New Issue