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 1d6ea1385f..8b7583d266 100644
--- a/thread_pthread.h
+++ b/thread_pthread.h
@@ -100,7 +100,7 @@ native_tls_set(native_tls_key_t key, void *ptr)
RUBY_SYMBOL_EXPORT_BEGIN
#ifdef RB_THREAD_LOCAL_SPECIFIER
- #if __APPLE__
+ #ifdef __APPLE__
// on Darwin, TLS can not be accessed across .so
struct rb_execution_context_struct *rb_current_ec();
void rb_current_ec_set(struct rb_execution_context_struct *);