Don't try to build the RAWINPUT driver if HIDAPI is disabled

Sam Lantinga 2020-11-11 14:48:23 -08:00
parent d1e10c313e
commit b6238c87e4
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
#include "../../core/windows/SDL_windows.h"
#include "../hidapi/SDL_hidapijoystick_c.h"
#ifndef SDL_JOYSTICK_HIDAPI_XBOX360
#if !defined(SDL_JOYSTICK_HIDAPI) || !defined(SDL_JOYSTICK_HIDAPI_XBOX360)
#error RAWINPUT requires the XBOX360 HIDAPI driver
#endif