diff options
| author | Mai M <mathew1800@gmail.com> | 2022-06-02 20:20:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-02 20:20:52 -0400 |
| commit | 84944625dfeb161c014106e718ef05189755a0f0 (patch) | |
| tree | 6d8ee501b0aa010855ac1b24a90f9f6a9fd906f2 /Source/Core/Common/MemoryUtil.cpp | |
| parent | 5808a0bc9a5c44dd8142cbbece51b17e63f2499a (diff) | |
| parent | cb7e82760156da33f2f54fd3dbd9ae76c1fc55e3 (diff) | |
Merge pull request #10714 from OatmealDome/macos-mojave-bump
BuildMacOSUniversalBinary: Bump minimum macOS to 10.14
Diffstat (limited to 'Source/Core/Common/MemoryUtil.cpp')
| -rw-r--r-- | Source/Core/Common/MemoryUtil.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp index 858135bc0e..f94af85822 100644 --- a/Source/Core/Common/MemoryUtil.cpp +++ b/Source/Core/Common/MemoryUtil.cpp @@ -41,11 +41,7 @@ void* AllocateExecutableMemory(size_t size) #else int map_flags = MAP_ANON | MAP_PRIVATE; #if defined(__APPLE__) - // This check is in place to prepare for x86_64 MAP_JIT support. While MAP_JIT did exist - // prior to 10.14, it had restrictions on the number of JIT allocations that were removed - // in 10.14. - if (__builtin_available(macOS 10.14, *)) - map_flags |= MAP_JIT; + map_flags |= MAP_JIT; #endif void* ptr = mmap(nullptr, size, PROT_READ | PROT_WRITE | PROT_EXEC, map_flags, -1, 0); if (ptr == MAP_FAILED) |
