mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 05:54:57 +00:00
MemoryUtil: Remove availability checks for macOS 11
This commit is contained in:
parent
ad79a62d22
commit
7213cdd439
1 changed files with 2 additions and 8 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
Reference in a new issue