mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Merge pull request #13477 from OatmealDome/macos-11
CMakeLists: Bump minimum macOS to 11.0
This commit is contained in:
commit
da84a9f605
5 changed files with 16 additions and 49 deletions
|
@ -97,10 +97,7 @@ void JITPageWriteEnableExecuteDisable()
|
|||
#if defined(_M_ARM_64) && defined(__APPLE__)
|
||||
if (JITPageWriteNestCounter() == 0)
|
||||
{
|
||||
if (__builtin_available(macOS 11.0, *))
|
||||
{
|
||||
pthread_jit_write_protect_np(0);
|
||||
}
|
||||
pthread_jit_write_protect_np(0);
|
||||
}
|
||||
#endif
|
||||
JITPageWriteNestCounter()++;
|
||||
|
@ -119,10 +116,7 @@ void JITPageWriteDisableExecuteEnable()
|
|||
#if defined(_M_ARM_64) && defined(__APPLE__)
|
||||
if (JITPageWriteNestCounter() == 0)
|
||||
{
|
||||
if (__builtin_available(macOS 11.0, *))
|
||||
{
|
||||
pthread_jit_write_protect_np(1);
|
||||
}
|
||||
pthread_jit_write_protect_np(1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue