Przeglądaj źródła

Fixed build for platforms with only libusb hidapi implementations

Sam Lantinga 4 lat temu
rodzic
commit
706f63759c
1 zmienionych plików z 0 dodań i 2 usunięć
  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_