windows: improve feature detection consistency between CMake and non-CMake builds

This commit is contained in:
Cameron Gutman 2021-10-31 18:27:51 -05:00 committed by Sam Lantinga
parent 839ca0ea64
commit 2371b247ff
3 changed files with 16 additions and 17 deletions

View file

@ -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