Fixed building with libusb not dynamicaly loaded

(cherry-picked from commit 3f89d1704d)
(cherry-picked from commit 4ebf34857a)
(cherry-picked from commit 5767dc710e)
(cherry-picked from commit 9d77945d36)
(cherry-picked from commit 2847696338)
This commit is contained in:
Sam Lantinga authored and Ozkan Sezer committed 2022-09-12 23:55:56 +03:00
1 parent 531ddf5eb5
commit ffcf32b4ff
8 files changed
+93 -45

No files matched your search

+1
View File
@@ -43,6 +43,7 @@
/*#undef SDL_JOYSTICK_HIDAPI */
#else
#define SDL_JOYSTICK_HIDAPI 1
#define HAVE_LIBUSB 1
/* dynamically loaded libusb-1.0 dll: */
#define SDL_LIBUSB_DYNAMIC "usb100.dll"
#endif