mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-12 05:41:10 +01:00
Don't try to build the RAWINPUT driver if HIDAPI is disabled
This commit is contained in:
parent
d1e10c313e
commit
b6238c87e4
@ -40,7 +40,7 @@
|
|||||||
#include "../../core/windows/SDL_windows.h"
|
#include "../../core/windows/SDL_windows.h"
|
||||||
#include "../hidapi/SDL_hidapijoystick_c.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
|
#error RAWINPUT requires the XBOX360 HIDAPI driver
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user