depends: libusb: update to 1.0.27

This commit is contained in:
tobtoht 2024-02-13 18:27:22 +01:00
parent 059028a30a
commit 442146a508
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
2 changed files with 8 additions and 28 deletions

View file

@ -1,12 +0,0 @@
--- a/libusb/os/darwin_usb.h 2023-03-19 12:07:53
+++ b/libusb/os/darwin_usb.h 2023-03-19 12:07:47
@@ -165,7 +165,8 @@
#define __has_builtin(x) 0 // Compatibility with non-clang compilers.
#endif
#if __has_builtin(__builtin_available)
- #define HAS_CAPTURE_DEVICE() __builtin_available(macOS 10.10, *)
+// #define HAS_CAPTURE_DEVICE() __builtin_available(macOS 10.10, *)
+ #define HAS_CAPTURE_DEVICE() 0
#else
#define HAS_CAPTURE_DEVICE() 0
#endif