mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Added a note that we dynamically load libusb
This commit is contained in:
parent
1a653f7f89
commit
fa52949529
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue