Fix win32ole test failure under mingw-w64 (x64-mingw32)

* test/win32ole/test_win32ole_method.rb (is_ruby64?): Correct platform
  used to identify mingw-w64 (x64-mingw32). Patch by Hiroshi Shirosaki.
  [ruby-core:46651][Bug #6782]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
luislavena 2012-07-23 23:10:03 +00:00
parent 0d8bc52593
commit fa608f4af2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Tue Jul 24 08:09:30 2012 Luis Lavena <luislavena@gmail.com>
* test/win32ole/test_win32ole_method.rb (is_ruby64?): Correct platform
used to identify mingw-w64 (x64-mingw32). Patch by Hiroshi Shirosaki.
[ruby-core:46651][Bug #6782]
Tue Jul 24 07:22:58 2012 Eric Hodel <drbrain@segment7.net>
* time.c (time_sec): Updated description of leap seconds for accuracy.

View File

@ -109,7 +109,7 @@ if defined?(WIN32OLE_METHOD)
end
def is_ruby64?
/mswin64|mingw64/ =~ RUBY_PLATFORM
/mswin64|x64-mingw/ =~ RUBY_PLATFORM
end
def test_offset_vtbl