summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-07 08:38:39 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-07 08:38:39 +0000
commit795ad7421b5624bfc77c1d86d5764bdd882bd4d4 (patch)
tree2f7c9f54c65c72f9f9b24b1187d9edbdee0ecd50 /eval.c
parentd2e13dc5cb7e726f99babbe4822f0c1dbe16c44f (diff)
downloadruby-795ad7421b5624bfc77c1d86d5764bdd882bd4d4.tar.gz
ruby-795ad7421b5624bfc77c1d86d5764bdd882bd4d4.tar.xz
ruby-795ad7421b5624bfc77c1d86d5764bdd882bd4d4.zip
shugo
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 3ef416552..732ae7f9c 100644
--- a/eval.c
+++ b/eval.c
@@ -4037,7 +4037,7 @@ stack_length(p)
alloca(0);
# define STACK_END (&stack_end)
#else
-# if defined(__GNUC__)
+# if defined(__GNUC__) && !defined(__alpha__)
VALUE *stack_end = __builtin_frame_address(0);
# else
VALUE *stack_end = alloca(1);