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
2022-09-12 23:55:56 +03:00
committed by Ozkan Sezer
parent 531ddf5eb5
commit ffcf32b4ff
8 changed files with 93 additions and 45 deletions

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