aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-26 08:43:37 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-26 08:43:37 +0000
commited9e1f9ad9e437c5b6822ea6d3f9dfe7c6c6c6cb (patch)
tree92d4d1fb01248f195f9283aa95f6ac2e427c1653 /thread_pthread.c
parent1eb500466092961f2e8ee6a5afa5920615162de3 (diff)
downloadruby-ed9e1f9ad9e437c5b6822ea6d3f9dfe7c6c6c6cb.tar.gz
* thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for ARM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;