diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-08 01:47:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-08 11:31:17 +0900 |
commit | 3c4d788bfe7ea2fe2e9b6c0246237be45a41a12e (patch) | |
tree | 0338cebf51540e39510af936a00c7884c62dfa35 /ractor_core.h | |
parent | f052aa11f218bfd97b1423e3157aa65261ee3f27 (diff) | |
download | ruby-3c4d788bfe7ea2fe2e9b6c0246237be45a41a12e.tar.gz |
macos: symbols for `rb_execution_context_t` should be internal
Diffstat (limited to 'ractor_core.h')
-rw-r--r-- | ractor_core.h | 6 |
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 |