diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 6c22870c1e..46a8652192 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -687,6 +687,7 @@ ruby_init_stack(volatile VALUE *addr /* it should be on co-routine (alternative stack). [Feature #2294] */ { void *start, *end; + STACK_GROW_DIR_DETECTION; if (IS_STACK_DIR_UPPER()) { start = native_main_thread.stack_start; |