Fix macOS 10.12 version check
Xcode 9 doesn't yet define MAC_OS_X_VERSION_10_13. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
50b0611ad1
commit
0098cfcab7
2 changed files with 5 additions and 7 deletions
|
@ -36,7 +36,7 @@
|
|||
because it runs on the source rather than on the output of the C preprocessor
|
||||
(a reasonable decision in itself). Therefore, just skip the body of each test. */
|
||||
|
||||
#if __APPLE__ && MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_13
|
||||
#if __APPLE__ && !(defined MAC_OS_X_VERSION_10_13 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_13)
|
||||
#define HAVE_FMEMOPEN 0
|
||||
#else
|
||||
#define HAVE_FMEMOPEN 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue