Quellcode durchsuchen

Fixed build for platforms with only libusb hidapi implementations

Sam Lantinga vor 4 Jahren
Ursprung
Commit
706f63759c
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  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"
 #define HAVE_PLATFORM_BACKEND 1
 #define udev_ctx 1
-#else
-#error Need a hid.c for this platform!
 #endif
 
 #undef hid_device_