aboutsummaryrefslogtreecommitdiffstats
path: root/ractor_core.h
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2021-04-29 14:31:05 +0200
committerBenoit Daloze <eregontp@gmail.com>2021-05-04 14:56:55 +0200
commit68d6bd0873557c12bec6f8e0f8db622f1499d8a7 (patch)
treedd50dae6ebbf714d19e3db7272f0d9b6af86223e /ractor_core.h
parent229cbeba8c928dc6ee5eb21951e00c43a6e5225c (diff)
downloadruby-68d6bd0873557c12bec6f8e0f8db622f1499d8a7.tar.gz
Fix trivial -Wundef warnings
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
Diffstat (limited to '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 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;