Project

General

Profile

Actions

Bug #1086

closed

instruby.rb is broken on default Win64 install

Bug #1086: instruby.rb is broken on default Win64 install

Added by nrieck (Nico Rieck) over 16 years ago. Updated over 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [x64-mswin64_90]
Backport:
[ruby-core:21722]

Description

=begin
instruby.rb conditionally includes 'win32.h' in the header files when installing under Windows. It checks among others for 'mswin32':

unless RUBY_PLATFORM =~ /mswin32|mingw|bccwin32/
noinst << "win32.h"
end

Having compiled Ruby with VC9's 64bit compiler (without any issues) my platform is 'x64-mswin64_90' so this breaks and prevents from installing any extensions.

Grepping through Ruby's lib directory shows a few other occurences of 'mswin32' so this might not be the only bad spot.
=end

Actions

Also available in: PDF Atom