From 764aa44598f3669952ce65d064f14ac725671116 Mon Sep 17 00:00:00 2001 From: Daan Date: Fri, 19 Apr 2024 09:38:40 -0700 Subject: [PATCH] remove macOS preprocessor macros that do not exist (anymore). issue #879 --- src/prim/unix/prim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prim/unix/prim.c b/src/prim/unix/prim.c index 87ad63b1..9c4ecd4b 100644 --- a/src/prim/unix/prim.c +++ b/src/prim/unix/prim.c @@ -42,8 +42,8 @@ terms of the MIT license. A copy of the license can be found in the file #elif defined(__APPLE__) #include #include - #if !TARGET_IOS_IPHONE && !TARGET_IOS_SIMULATOR - #include + #if !defined(TARGET_OS_OSX) || TARGET_OS_OSX // see issue #879, used to be (!TARGET_IOS_IPHONE && !TARGET_IOS_SIMULATOR) + #include // VM_MAKE_TAG, VM_FLAGS_SUPERPAGE_SIZE_2MB, etc. #endif #if !defined(MAC_OS_X_VERSION_10_7) #define MAC_OS_X_VERSION_10_7 1070