Fix MacOS version test

It appears that the Issue #454 wasn't really fixed for some reason.  This commit should fix the detection.

Fix By: Brad House (@bradh352)
pull/638/head
Brad House 1 year ago
parent 52e72fe812
commit f4d8c9abbb
  1. 2
      configure.ac

@ -476,6 +476,7 @@ AS_IF([test "x$host_vendor" = "xapple"], [
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
#include <stdio.h>
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>
]], [[
#if TARGET_OS_IPHONE == 0 || __IPHONE_OS_VERSION_MIN_REQUIRED < 100000
@ -497,6 +498,7 @@ AS_IF([test "x$host_vendor" = "xapple"], [
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
#include <stdio.h>
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>
]], [[
#ifndef MAC_OS_X_VERSION_10_12

Loading…
Cancel
Save