Skip to content

Commit df402a4

Browse files
theRealAphlewurm
andauthored
Update src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp
Co-authored-by: Bernhard Urban-Forster <lewurm@gmail.com>
1 parent b970936 commit df402a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ int os::extra_bang_size_in_bytes() {
534534
return 0;
535535
}
536536

537-
#ifdef __APPLE__
537+
#ifdef MACOS_W_XOR_X
538538
static THREAD_LOCAL bool os_bsd_jit_exec_enabled;
539539
// This is a wrapper around the standard library function
540540
// pthread_jit_write_protect_np(3). We keep track of the state of

0 commit comments

Comments
 (0)