Add a comment

This commit is contained in:
lazymio 2024-02-13 19:11:22 +08:00
parent 71c729a9d7
commit 8a1c8daca3
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

View File

@ -124,6 +124,8 @@ struct uc_struct;
*
* Issue: https://github.com/desktop/desktop/issues/12978
*/
// Even if we don't have sprr available (mostly in virtual machine), we still need MAP_JIT though there is no
// protection enforced.
#if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && (defined(__arm__) || defined(__aarch64__))
#define USE_MAP_JIT
#endif