Browse Source

Fixed build for platforms with only libusb hidapi implementations

Sam Lantinga 4 years ago
parent
commit
706f63759c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/hidapi/SDL_hidapi.c

+ 0 - 2
src/hidapi/SDL_hidapi.c

@@ -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_