1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/dl/cfunc.c (rb_dlcfunc_call): workaround for VC9 for x64.

reported by kuwamoto shintaro in [ruby-dev:42125].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2010-08-24 18:46:24 +00:00
parent f9f6289b10
commit c6465aeeb1
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Wed Aug 25 03:42:43 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/dl/cfunc.c (rb_dlcfunc_call): workaround for VC9 for x64.
reported by kuwamoto shintaro in [ruby-dev:42125].
Tue Aug 24 23:28:50 2010 Yusuke Endoh <mame@tsg.ne.jp> Tue Aug 24 23:28:50 2010 Yusuke Endoh <mame@tsg.ne.jp>
* .gitignore: updated. * .gitignore: updated.

View file

@ -314,6 +314,9 @@ rb_dlcfunc_inspect(VALUE self)
} }
#if defined(_MSC_VER) && defined(_M_AMD64) && _MSC_VER == 1500
# pragma optimize("", off)
#endif
/* /*
* call-seq: * call-seq:
* dlcfunc.call(ary) => some_value * dlcfunc.call(ary) => some_value
@ -579,6 +582,9 @@ rb_dlcfunc_call(VALUE self, VALUE ary)
return result; return result;
} }
#if defined(_MSC_VER) && defined(_M_AMD64) && _MSC_VER == 1500
# pragma optimize("", on)
#endif
/* /*
* call-seq: * call-seq: