Merge pull request #242 from devnexen/ios_build_fix

IOS build fix, large pages unsupported.
This commit is contained in:
Daan 2020-05-19 10:21:32 -07:00 committed by GitHub
commit 0ed478089e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,9 +26,12 @@ terms of the MIT license. A copy of the license can be found in the file
#include <linux/mman.h> // linux mmap flags #include <linux/mman.h> // linux mmap flags
#endif #endif
#if defined(__APPLE__) #if defined(__APPLE__)
#include <TargetConditionals.h>
#if !TARGET_IOS_IPHONE && !TARGET_IOS_SIMULATOR
#include <mach/vm_statistics.h> #include <mach/vm_statistics.h>
#endif #endif
#endif #endif
#endif
/* ----------------------------------------------------------- /* -----------------------------------------------------------
Initialization. Initialization.