mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
Merge pull request #242 from devnexen/ios_build_fix
IOS build fix, large pages unsupported.
This commit is contained in:
commit
0ed478089e
1 changed files with 3 additions and 0 deletions
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…
Add table
Reference in a new issue