From 706f63759c75357c5a82115afd205a163e25d4f8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 13 Dec 2020 01:58:05 -0800 Subject: [PATCH] Fixed build for platforms with only libusb hidapi implementations --- src/hidapi/SDL_hidapi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c index 109347564..0b07716b8 100644 --- a/src/hidapi/SDL_hidapi.c +++ b/src/hidapi/SDL_hidapi.c @@ -98,8 +98,6 @@ static const SDL_UDEV_Symbols *udev_ctx = NULL; #include "windows/hid.c" #define HAVE_PLATFORM_BACKEND 1 #define udev_ctx 1 -#else -#error Need a hid.c for this platform! #endif #undef hid_device_