Skip to content

Commit

Permalink
Fix MacOS version test
Browse files Browse the repository at this point in the history
It appears that the Issue #454 wasn't really fixed for some reason.  This commit should fix the detection.

Fix By: Brad House (@bradh352)
  • Loading branch information
bradh352 committed Nov 26, 2023
1 parent 52e72fe commit f4d8c9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f4d8c9a

Please sign in to comment.