Merge pull request #1559 from yrashk/aarch64-use-map-jit

Problem: Could not allocate dynamic translator buffer
This commit is contained in:
2022-02-25 22:46:19 +01:00
committed by GitHub

View File

@@ -124,7 +124,7 @@ struct uc_struct;
* *
* Issue: https://github.com/desktop/desktop/issues/12978 * Issue: https://github.com/desktop/desktop/issues/12978
*/ */
#if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && defined(__arm__) #if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && (defined(__arm__) || defined(__aarch64__))
#define USE_MAP_JIT #define USE_MAP_JIT
#endif #endif