Browse Source

Merge commit '0785f272fd9eb9c2cb366b074b09417aeea3f3c6' into main

Sam Lantinga 2 years ago
parent
commit
0ed4589ed2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/hidapi/SDL_hidapi.c

+ 1 - 1
src/hidapi/SDL_hidapi.c

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