Skip to content

Commit

Permalink
* ext/dl/cfunc.c (rb_dlcfunc_call): also needed the workaround for VC8
Browse files Browse the repository at this point in the history
  for x64.  [ruby-dev:45875] [Bug ruby#6676]
  reported by aves_ramphastos (Seigo Ishigane)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
unak committed Jul 3, 2012
1 parent 1138756 commit 1f23350
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Tue Jul 3 12:05:51 2012 NAKAMURA Usaku <[email protected]>

* 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 <[email protected]>

* ext/zlib/zlib.c (zstream_detach_buffer): Refactored tainting of
Expand Down
4 changes: 2 additions & 2 deletions ext/dl/cfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#endif
/*
Expand Down Expand Up @@ -599,7 +599,7 @@ rb_dlcfunc_call(VALUE self, VALUE ary)

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)
#endif

Expand Down

0 comments on commit 1f23350

Please sign in to comment.