mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-02-02 05:51:04 +00:00
Don't try to call hid_ble_scan() if HIDAPI is disabled
Fixes https://github.com/libsdl-org/SDL/issues/5699
This commit is contained in:
parent
195ca499ca
commit
22d6e09a8d
|
@ -1524,7 +1524,7 @@ int SDL_hid_get_indexed_string(SDL_hid_device *device, int string_index, wchar_t
|
||||||
|
|
||||||
void SDL_hid_ble_scan(SDL_bool active)
|
void SDL_hid_ble_scan(SDL_bool active)
|
||||||
{
|
{
|
||||||
#if __IPHONEOS__ || __TVOS__
|
#if !SDL_HIDAPI_DISABLED && (__IPHONEOS__ || __TVOS__)
|
||||||
hid_ble_scan(active);
|
hid_ble_scan(active);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue