diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 4 | ||||
-rw-r--r-- | ext/win32ole/extconf.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 406695f9da..5a99f323d8 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 06a3f14c43..500bd3dd3a 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' |