summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@me.com>2016-09-12 22:00:04 -0600
committerNathan Hjelm <hjelmn@me.com>2016-09-12 22:00:04 -0600
commit2644d3e6e2b48f3307da8eeddaaed87b6f5f7d63 (patch)
tree5ba7a0be2c11343d93589b5f0eab06bf386b8dff
parent7f5f86fe42e0d7566b88240383648f8453445755 (diff)
downloadlibusb-2644d3e6e2b48f3307da8eeddaaed87b6f5f7d63.tar.gz
darwin: fix typov1.0.21-rc4
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
-rw-r--r--libusb/os/darwin_usb.c2
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c
index 9f5d9d0..25b37e3 100644
--- a/libusb/os/darwin_usb.c
+++ b/libusb/os/darwin_usb.c
@@ -41,7 +41,7 @@
#include <objc/objc-auto.h>
#endif
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
/* Apple deprecated the darwin atomics in 10.12 in favor of C11 atomics */
#include <stdatomic.h>
#define libusb_darwin_atomic_fetch_add(x, y) atomic_fetch_add(x, y)
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index e3cb477..3bf9d8d 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11144
+#define LIBUSB_NANO 11145