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): also needed the workaround for VC8

for x64.  [ruby-dev:45875] [Bug #6676]
  reported by aves_ramphastos (Seigo Ishigane)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2012-07-03 03:10:02 +00:00
parent 1138756967
commit 1f23350194
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Tue Jul 3 12:05:51 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/dl/cfunc.c (rb_dlcfunc_call): also needed the workaround for VC8
for x64. [ruby-dev:45875] [Bug #6676]
reported by aves_ramphastos (Seigo Ishigane)
Tue Jul 3 11:56:46 2012 Eric Hodel <drbrain@segment7.net> Tue Jul 3 11:56:46 2012 Eric Hodel <drbrain@segment7.net>
* ext/zlib/zlib.c (zstream_detach_buffer): Refactored tainting of * ext/zlib/zlib.c (zstream_detach_buffer): Refactored tainting of

View file

@ -325,7 +325,7 @@ rb_dlcfunc_inspect(VALUE self)
} }
#if defined(_MSC_VER) && defined(_M_AMD64) && _MSC_VER == 1500 #if defined(_MSC_VER) && defined(_M_AMD64) && _MSC_VER >= 1400 && _MSC_VER < 1600
# pragma optimize("", off) # pragma optimize("", off)
#endif #endif
/* /*
@ -599,7 +599,7 @@ rb_dlcfunc_call(VALUE self, VALUE ary)
return result; return result;
} }
#if defined(_MSC_VER) && defined(_M_AMD64) && _MSC_VER == 1500 #if defined(_MSC_VER) && defined(_M_AMD64) && _MSC_VER >= 1400 && _MSC_VER < 1600
# pragma optimize("", on) # pragma optimize("", on)
#endif #endif