Skip to content

Commit

Permalink
add libusb MINIMAL_API_VERSION support for osx builds
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Feb 17, 2024
1 parent 20c4ae1 commit 4eafbb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stlink-lib/libusb_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#define MINIMAL_API_VERSION 0x01000102 // v1.0.16
#elif defined (__OpenBSD__)
#define MINIMAL_API_VERSION 0x01000106 // v1.0.22
#elif defined (__APPLE__)
#define MINIMAL_API_VERSION 0x01000106 // v1.0.22
#elif defined (__linux__)
#define MINIMAL_API_VERSION 0x01000106 // v1.0.22
#elif defined (_WIN32)
Expand Down

0 comments on commit 4eafbb2

Please sign in to comment.