summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-01 23:12:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-01 23:12:52 +0000
commit435ad02cc5cc93e5e94ce65158910709d2cc52f5 (patch)
tree5f0279f00fc3f6744ef2bcd90e5e95d2d2147409 /ext
parenta9ccdcf68119e5d445aedecefd311b52c9b5e3c7 (diff)
downloadruby-435ad02cc5cc93e5e94ce65158910709d2cc52f5.tar.gz
ruby-435ad02cc5cc93e5e94ce65158910709d2cc52f5.tar.xz
ruby-435ad02cc5cc93e5e94ce65158910709d2cc52f5.zip
* lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded
platform names. * lib/resolv.rb (Resolv::Hosts::DefaultFileName), (Resolv::DNS::Config.default_config_hash): tries win32/resolv on mswin64 too. * lib/rubygems/specification.rb (Gem::Specification#ruby_code): aded mswin64. * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command): spawn is better to start a process in background. * ext/extmk.rb: uses FNM_SYSCASE. * instruby.rb: installs win32.h on mswin64 platform. [ruby-core:21722] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb4
-rw-r--r--ext/win32ole/extconf.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 406695f9d..5a99f323d 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -351,7 +351,7 @@ $static_ext = {}
if $extstatic
$extstatic.each do |t|
target = t
- target = target.downcase if /mswin32|bccwin32/ =~ RUBY_PLATFORM
+ target = target.downcase if File::FNM_SYSCASE.nonzero?
$static_ext[target] = $static_ext.size
end
end
@@ -371,7 +371,7 @@ for dir in ["ext", File::join($top_srcdir, "ext")]
end
next
end
- target = target.downcase if /mswin32|bccwin32/ =~ RUBY_PLATFORM
+ target = target.downcase if File::FNM_SYSCASE.nonzero?
$static_ext[target] = $static_ext.size
end
MTIMES << f.mtime
diff --git a/ext/win32ole/extconf.rb b/ext/win32ole/extconf.rb
index 06a3f14c4..500bd3dd3 100644
--- a/ext/win32ole/extconf.rb
+++ b/ext/win32ole/extconf.rb
@@ -36,7 +36,7 @@ end
case RUBY_PLATFORM
-when /mswin32/
+when /mswin/
$CFLAGS += ' /W3'
when /cygwin/, /mingw/
$defs << '-DNONAMELESSUNION'