Merge pull request #13477 from OatmealDome/macos-11

CMakeLists: Bump minimum macOS to 11.0
This commit is contained in:
OatmealDome
2025-04-22 17:27:12 -04:00
committed by GitHub
5 changed files with 16 additions and 49 deletions

View File

@ -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
}