diff options
Diffstat (limited to 'src/gc/unix/gcenv.unix.cpp')
-rw-r--r-- | src/gc/unix/gcenv.unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gc/unix/gcenv.unix.cpp b/src/gc/unix/gcenv.unix.cpp index edddee16ce..c248082c95 100644 --- a/src/gc/unix/gcenv.unix.cpp +++ b/src/gc/unix/gcenv.unix.cpp @@ -551,6 +551,8 @@ void* GCToOSInterface::VirtualReserveAndCommitLargePages(size_t size) { #if HAVE_MAP_HUGETLB uint32_t largePagesFlag = MAP_HUGETLB; +#elif HAVE_VM_FLAGS_SUPERPAGE_SIZE_ANY + uint32_t largePagesFlag = VM_FLAGS_SUPERPAGE_SIZE_ANY; #else uint32_t largePagesFlag = 0; #endif |