diff options
author | Benoit Daloze <[email protected]> | 2021-04-29 14:31:05 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2021-05-04 14:56:55 +0200 |
commit | 68d6bd0873557c12bec6f8e0f8db622f1499d8a7 (patch) | |
tree | dd50dae6ebbf714d19e3db7272f0d9b6af86223e /ractor_core.h | |
parent | 229cbeba8c928dc6ee5eb21951e00c43a6e5225c (diff) |
Fix trivial -Wundef warnings
* See [Feature #17752]
Co-authored-by: xtkoba (Tee KOBAYASHI) <[email protected]>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4428
Diffstat (limited to 'ractor_core.h')
-rw-r--r-- | ractor_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor_core.h b/ractor_core.h index fb104cd22c..63279ebb98 100644 --- a/ractor_core.h +++ b/ractor_core.h @@ -261,7 +261,7 @@ static inline void rb_ractor_set_current_ec(rb_ractor_t *cr, rb_execution_context_t *ec) { #ifdef RB_THREAD_LOCAL_SPECIFIER - #if __APPLE__ + #ifdef __APPLE__ rb_current_ec_set(ec); #else ruby_current_ec = ec; |