Skip to content

Commit

Permalink
Add libusb_set_option to libusb-1.0.def manually
Browse files Browse the repository at this point in the history
Since libusb_set_option() is variadic, there is no symbol
for it with @ appended in the DLL, and the automatic
generation of libusb-1.0.def misses it.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
  • Loading branch information
tormodvolden committed Jan 21, 2022
1 parent 7ffad5c commit 99d9bbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libusb/libusb-1.0.def
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ EXPORTS
libusb_set_interface_alt_setting@12 = libusb_set_interface_alt_setting
libusb_set_log_cb
libusb_set_log_cb@12 = libusb_set_log_cb
libusb_set_option
libusb_set_option@8 = libusb_set_option
libusb_set_pollfd_notifiers
libusb_set_pollfd_notifiers@16 = libusb_set_pollfd_notifiers
libusb_setlocale
Expand Down
2 changes: 1 addition & 1 deletion libusb/version_nano.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define LIBUSB_NANO 11686
#define LIBUSB_NANO 11687

0 comments on commit 99d9bbd

Please sign in to comment.