Commit bebc48677420472d708c55376eba372c395fdb49

Sam Lantinga 2020-03-01T17:53:30

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c
index 247de2e..ca9845f 100644
--- a/src/hidapi/SDL_hidapi.c
+++ b/src/hidapi/SDL_hidapi.c
@@ -129,12 +129,6 @@ static const SDL_UDEV_Symbols *udev_ctx = NULL;
 #undef make_path
 #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
 /* libusb HIDAPI Implementation */