summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-04-19 09:16:07 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-04-19 09:16:07 +0000
commit467183a1d579433c91b47afe410d3fb735775cce (patch)
treee25ac5e865fdb32a6b722ac939e872b20ba1b1e2 /eval.c
parentb809da7b8edbdb24f32068f4a25e1036f4d25ac3 (diff)
m68m frame_pointer patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1329 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 b1f01f958d..b822f5620d 100644
--- a/eval.c
+++ b/eval.c
@@ -4127,7 +4127,7 @@ stack_length(p)
alloca(0);
# define STACK_END (&stack_end)
#else
-# if defined(__GNUC__) && defined(__i386__)
+# if defined(__GNUC__) && (defined(__i386__) || defined(__m68k__))
VALUE *stack_end = __builtin_frame_address(0);
# else
VALUE *stack_end = alloca(1);