From 3c4d788bfe7ea2fe2e9b6c0246237be45a41a12e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 8 Jul 2023 01:47:06 +0900 Subject: macos: symbols for `rb_execution_context_t` should be internal --- ractor_core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ractor_core.h') 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 -- cgit v1.2.3