IOS build fix, large pages unsupported.

This commit is contained in:
David Carlier 2020-05-07 20:09:16 +01:00
parent 4f020e5da4
commit 0ea4e3f279

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.