mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-14 13:56:00 +00:00
hidapi/libusb: don't try to dlsym libusb_wrap_sys_device
not used in SDL.
This commit is contained in:

committed by
Sam Lantinga

parent
3ecdbf27cc
commit
e27c10a5b1
@@ -84,6 +84,8 @@ static int SDL_libusb_get_string_descriptor(libusb_device_handle *dev,
|
||||
#endif /* __FreeBSD__ */
|
||||
|
||||
#define HIDAPI_THREAD_MODEL_INCLUDE "hidapi_thread_sdl.h"
|
||||
/* we don't need libusb_wrap_sys_device: */
|
||||
#define HIDAPI_TARGET_LIBUSB_API_VERSION 0x01000100
|
||||
|
||||
#undef HIDAPI_H__
|
||||
#include "libusb/hid.c"
|
||||
|
Reference in New Issue
Block a user