Fixed build for platforms with only libusb hidapi implementations

This commit is contained in:
Sam Lantinga 2020-12-13 01:58:05 -08:00
parent 80e5c689eb
commit 706f63759c

View File

@ -98,8 +98,6 @@ static const SDL_UDEV_Symbols *udev_ctx = NULL;
#include "windows/hid.c" #include "windows/hid.c"
#define HAVE_PLATFORM_BACKEND 1 #define HAVE_PLATFORM_BACKEND 1
#define udev_ctx 1 #define udev_ctx 1
#else
#error Need a hid.c for this platform!
#endif #endif
#undef hid_device_ #undef hid_device_