summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 8953f5ece8..cae9006337 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -672,6 +672,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;