mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-27 13:33:18 +08:00
Merge pull request #242 from devnexen/ios_build_fix
IOS build fix, large pages unsupported.
This commit is contained in:
commit
0ed478089e
3
src/os.c
3
src/os.c
@ -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
|
||||
#endif
|
||||
#if defined(__APPLE__)
|
||||
#include <TargetConditionals.h>
|
||||
#if !TARGET_IOS_IPHONE && !TARGET_IOS_SIMULATOR
|
||||
#include <mach/vm_statistics.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
Initialization.
|
||||
|
Loading…
x
Reference in New Issue
Block a user