Merge commit '0785f272fd9eb9c2cb366b074b09417aeea3f3c6' into main

This commit is contained in:
Sam Lantinga
2023-01-13 14:20:17 -08:00

View File

@@ -1084,7 +1084,7 @@ int SDL_hid_init(void)
loaded = SDL_FALSE; \
}
#else
#define LOAD_LIBUSB_SYMBOL(func) \
#define LOAD_LIBUSB_SYMBOL(type, func) \
libusb_ctx.func = libusb_##func;
#endif
LOAD_LIBUSB_SYMBOL(int (LIBUSB_CALL *)(libusb_context **), init)