summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-12-08 05:35:58 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-12-08 05:35:58 +0000
commitea14c6e09a5fc236744ff0a5b51f30ffd7a28241 (patch)
tree368c81a7fca3147e873ff7ff20bfef1033db635b /gc.c
parent1d9aaa67f385650d8eef5a2e259724a6cb57a925 (diff)
19991208
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index c477d45456..6122724175 100644
--- a/gc.c
+++ b/gc.c
@@ -896,7 +896,8 @@ rb_gc()
alloca(0);
# define STACK_END (&stack_end)
#else
-# define STACK_END alloca(1)
+ VALUE *stack_end = alloca(1);
+# define STACK_END (stack_end)
#endif
alloc_objects = 0;