summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-03 13:04:31 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-03 14:10:39 +0900
commitc48219e2d738faa388e61361c0549f7addbfacfe (patch)
tree6c03615f649f6c0a5b14c95bc233778514c60931
parent31c295ef28fc678d8416f1f35726ac43d470d1d3 (diff)
f7059af50a31 is also required at ractor_core.h
-rw-r--r--ractor_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor_core.h b/ractor_core.h
index 36c0e91c7a..e607cf5f2f 100644
--- a/ractor_core.h
+++ b/ractor_core.h
@@ -315,7 +315,7 @@ rb_ractor_set_current_ec_(rb_ractor_t *cr, rb_execution_context_t *ec, const cha
{
#ifdef RB_THREAD_LOCAL_SPECIFIER
-# ifdef __APPLE__
+# if defined(__arm64__) || defined(__aarch64__)
rb_current_ec_set(ec);
# else
ruby_current_ec = ec;