Explorar o código

We already have a hidapi implementation for Windows, we don't need libusb

Sam Lantinga %!s(int64=6) %!d(string=hai) anos
pai
achega
bebc486774
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      src/hidapi/SDL_hidapi.c

+ 0 - 6
src/hidapi/SDL_hidapi.c

@@ -129,12 +129,6 @@ static const SDL_UDEV_Symbols *udev_ctx = NULL;
 #undef make_path
 #undef make_path
 #undef read_thread
 #undef read_thread
 
 
-#ifndef SDL_LIBUSB_DYNAMIC
-#if __WINDOWS__
-#define SDL_LIBUSB_DYNAMIC "libusb-1.0.dll"
-#endif /* __WINDOWS__ */
-#endif /* SDL_LIBUSB_DYNAMIC */
-
 #ifdef SDL_LIBUSB_DYNAMIC
 #ifdef SDL_LIBUSB_DYNAMIC
 /* libusb HIDAPI Implementation */
 /* libusb HIDAPI Implementation */