windows: improve feature detection consistency between CMake and non-CMake builds
This commit is contained in:
parent
839ca0ea64
commit
2371b247ff
3 changed files with 16 additions and 17 deletions
|
@ -47,7 +47,7 @@
|
|||
#ifdef HAVE_XINPUT_H
|
||||
#define SDL_JOYSTICK_RAWINPUT_XINPUT
|
||||
#endif
|
||||
#ifdef SDL_WINDOWS10_SDK
|
||||
#ifdef HAVE_WINDOWS_GAMING_INPUT_H
|
||||
#define SDL_JOYSTICK_RAWINPUT_WGI
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue