mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-08 14:23:22 +00:00
Added a note that we dynamically load libusb
This commit is contained in:
@@ -24,6 +24,15 @@
|
||||
|
||||
#ifdef HAVE_LIBUSB
|
||||
|
||||
#ifdef SDL_LIBUSB_DYNAMIC
|
||||
SDL_ELF_NOTE_DLOPEN(
|
||||
"libusb",
|
||||
"Support for joysticks through libusb",
|
||||
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
|
||||
SDL_LIBUSB_DYNAMIC
|
||||
);
|
||||
#endif
|
||||
|
||||
static SDL_AtomicInt SDL_libusb_refcount;
|
||||
static bool SDL_libusb_loaded;
|
||||
static SDL_SharedObject *SDL_libusb_handle;
|
||||
|
||||
Reference in New Issue
Block a user