diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-06 10:22:45 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-06 10:22:45 +0000 |
| commit | 31bbf8178c5143263ea45a644d705eedf6c5a23a (patch) | |
| tree | c8f2bf54c1d304cd8b37c780a5eb9582b0a6fd11 | |
| parent | 441ff04d9465867f4260f9bbdccfe46e0c031a88 (diff) | |
| download | ruby-31bbf8178c5143263ea45a644d705eedf6c5a23a.tar.gz ruby-31bbf8178c5143263ea45a644d705eedf6c5a23a.tar.xz ruby-31bbf8178c5143263ea45a644d705eedf6c5a23a.zip | |
* eval.c (stack_extend): add prototype because VC++8 doesn't
accept __declspec(noinline) with K&R style function definitions.
(backported from CVS HEAD)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | eval.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Sun Feb 6 19:23:01 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. + (backported from CVS HEAD) + Sun Feb 6 14:14:26 2005 Tadayoshi Funaba <tadf@dotrb.org> * lib/date.rb (new_with_hash): changed messages of exception. @@ -9925,7 +9925,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) |
