summaryrefslogtreecommitdiff
path: root/thread_pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.h')
-rw-r--r--thread_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.h b/thread_pthread.h
index 9ccacbf660..20c4b9f9a8 100644
--- a/thread_pthread.h
+++ b/thread_pthread.h
@@ -134,7 +134,7 @@ struct rb_thread_sched {
# ifdef __APPLE__
// on Darwin, TLS can not be accessed across .so
- struct rb_execution_context_struct *rb_current_ec(void);
+ NOINLINE(struct rb_execution_context_struct *rb_current_ec(void));
# else
RUBY_EXTERN RB_THREAD_LOCAL_SPECIFIER struct rb_execution_context_struct *ruby_current_ec;