Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Feb 13, 2024
1 parent 71c729a commit 8a1c8da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qemu/include/qemu/osdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a1c8da

Please sign in to comment.