From 74d3bfb3283d295f5e0bcffb4aa0801affdc2989 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 18 Dec 2003 12:48:43 +0000 Subject: * eval.c (stack_extend): ignore inline optimization on VC7. * win32/Makefile.sub (OS, RT): can override. * win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none option. based on Tietew's patch [ruby-dev:22289] * lib/mkmf.rb (create_makefile): should remove deffile if it's made by miniruby. based on nobu's patch. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 078d095ec..1abed8619 100644 --- a/eval.c +++ b/eval.c @@ -8466,6 +8466,9 @@ rb_thread_switch(n) NORETURN(static void rb_thread_restore_context _((rb_thread_t,int))); +# if _MSC_VER >= 1300 +__declspec(noinline) +# endif static void stack_extend(th, exit) rb_thread_t th; -- cgit