aboutsummaryrefslogtreecommitdiffstats
path: root/ractor_core.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-08 01:47:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-08 11:31:17 +0900
commit3c4d788bfe7ea2fe2e9b6c0246237be45a41a12e (patch)
tree0338cebf51540e39510af936a00c7884c62dfa35 /ractor_core.h
parentf052aa11f218bfd97b1423e3157aa65261ee3f27 (diff)
downloadruby-3c4d788bfe7ea2fe2e9b6c0246237be45a41a12e.tar.gz
macos: symbols for `rb_execution_context_t` should be internal
Diffstat (limited to 'ractor_core.h')
-rw-r--r--ractor_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ractor_core.h b/ractor_core.h
index 1fd8da0d84..38aded1507 100644
--- a/ractor_core.h
+++ b/ractor_core.h
@@ -310,11 +310,11 @@ static inline void
rb_ractor_set_current_ec_(rb_ractor_t *cr, rb_execution_context_t *ec, const char *file, int line)
{
#ifdef RB_THREAD_LOCAL_SPECIFIER
- #ifdef __APPLE__
+# ifdef __APPLE__
rb_current_ec_set(ec);
- #else
+# else
ruby_current_ec = ec;
- #endif
+# endif
#else
native_tls_set(ruby_current_ec_key, ec);
#endif