mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-27 05:11:11 +08:00
IOS build fix, large pages unsupported.
This commit is contained in:
parent
4f020e5da4
commit
0ea4e3f279
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