diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index af1ddca78c..ab4036f4d2 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -618,7 +618,9 @@ thread_start_func_1(void *th_ptr) #endif { rb_thread_t *th = th_ptr; +#if !defined USE_NATIVE_THREAD_INIT VALUE stack_start; +#endif #if defined USE_NATIVE_THREAD_INIT native_thread_init_stack(th); |