SDL_hidapi_steam.c: Fix compilation under c2x.

When N2935 is implemented, the enum breaks compilation. Use a #define of
the SDL booleans instead.
This commit is contained in:
Pierre Wendling authored and Sam Lantinga committed 2023-03-27 09:02:14 -07:00
1 parent ea093378a2
commit 975039ce0d
1 file changed
+3 -5
+3 -5
View File
@@ -31,11 +31,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;