forked from dolphin-emu/dolphin
MemoryUtil: Remove availability checks for macOS 11
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user