mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (stack_extend): add prototype because VC++8 doesn't
accept __declspec(noinline) with K&R style function definitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
93711e5bd3
commit
983de47edc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Feb 6 19:20:05 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* eval.c (stack_extend): add prototype because VC++8 doesn't
|
||||
accept __declspec(noinline) with K&R style function definitions.
|
||||
|
||||
Sun Feb 6 13:56:19 2005 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* lib/date.rb (new_with_hash): changed messages of exception.
|
||||
|
|
2
eval.c
2
eval.c
|
@ -10046,7 +10046,7 @@ rb_thread_switch(n)
|
|||
NORETURN(static void rb_thread_restore_context _((rb_thread_t,int)));
|
||||
|
||||
# if _MSC_VER >= 1300
|
||||
__declspec(noinline)
|
||||
__declspec(noinline) static void stack_extend(rb_thread_t, int);
|
||||
# endif
|
||||
static void
|
||||
stack_extend(th, exit)
|
||||
|
|
Loading…
Reference in a new issue