]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Spell MAC_OS_X_VERSION_10_12 correctly.
authorNick Mathewson <nickm@torproject.org>
Mon, 12 Dec 2016 03:17:14 +0000 (22:17 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 12 Dec 2016 03:17:14 +0000 (22:17 -0500)
Fixes 20935.

changes/bug20935 [new file with mode: 0644]
configure.ac

diff --git a/changes/bug20935 b/changes/bug20935
new file mode 100644 (file)
index 0000000..78068c7
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes (portability):
+    - Use the correct spelling of MAC_OS_X_VERSION_10_12 on configure.ac
+      Fixes bug 20935; bugfix on 0.2.9.6-rc.
index df68ffa8f7481d33a086f4c1c486d6334ecb80df..699eafc51c562f827706d45ab9a94bfdfd4c9da6 100644 (file)
@@ -430,11 +430,11 @@ AC_MSG_CHECKING([for a pre-Sierra OSX build target])
 AC_TRY_COMPILE([
 #ifdef __APPLE__
 #  include <AvailabilityMacros.h>
-#  ifndef MAC_OS_VERSION_10_12
-#    define MAC_OS_VERSION_10_12 101200
+#  ifndef MAC_OS_X_VERSION_10_12
+#    define MAC_OS_X_VERSION_10_12 101200
 #  endif
 #  if defined(MAC_OS_X_VERSION_MIN_REQUIRED)
-#    if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_VERSION_10_12
+#    if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12
 #      error "Running on Mac OSX 10.11 or earlier"
 #    endif
 #  endif