We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f7d1e9 commit 764aa44Copy full SHA for 764aa44
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
42
#elif defined(__APPLE__)
43
#include <AvailabilityMacros.h>
44
#include <TargetConditionals.h>
45
- #if !TARGET_IOS_IPHONE && !TARGET_IOS_SIMULATOR
46
- #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.
47
#endif
48
#if !defined(MAC_OS_X_VERSION_10_7)
49
#define MAC_OS_X_VERSION_10_7 1070
0 commit comments