summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2022-02-21 23:45:15 +0100
committerTormod Volden <debian.tormod@gmail.com>2022-03-16 17:53:00 +0100
commit74059154ee1541e18f42e6815ece97be0df2c661 (patch)
treed8497fa9c4a191ea07ebae55cc4255fb60793109
parent02dc54936899150bb442e9195133f72702a79b67 (diff)
downloadlibusb-74059154ee1541e18f42e6815ece97be0df2c661.tar.gz
darwin: Avoid possibly undefined version macro in configure.ac
References #1056 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
-rw-r--r--configure.ac2
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 7dd7dd4..97712d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -208,7 +208,7 @@ if test "x$platform" = xposix; then
AC_MSG_CHECKING([whether OS X target version is 10.12 or later])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <AvailabilityMacros.h>
- #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12
+ #if MAC_OS_X_VERSION_MIN_REQUIRED < 101200
# error "Target OS X version is too old"
#endif
], [])],
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 014b2ef..2819c18 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11699
+#define LIBUSB_NANO 11700