remove macOS preprocessor macros that do not exist (anymore). issue #879

This commit is contained in:
Daan 2024-04-19 09:38:40 -07:00
parent 8f7d1e9a41
commit 764aa44598
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ terms of the MIT license. A copy of the license can be found in the file
#elif defined(__APPLE__)
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>
#if !TARGET_IOS_IPHONE && !TARGET_IOS_SIMULATOR
#include <mach/vm_statistics.h>
#if !defined(TARGET_OS_OSX) || TARGET_OS_OSX // see issue #879, used to be (!TARGET_IOS_IPHONE && !TARGET_IOS_SIMULATOR)
#include <mach/vm_statistics.h> // 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