1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/Win32API/extconf.rb: refactoring.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2002-06-04 09:52:28 +00:00
parent 9ba6e0738a
commit 160a9f79ef
2 changed files with 8 additions and 5 deletions

View file

@ -2,6 +2,8 @@ Tue Jun 4 18:28:37 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/socket/extconf.rb: The IPv6 stack of Cygwin is still incomplete.
* ext/Win32API/extconf.rb: refactoring.
Tue Jun 4 00:45:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ext/socket/addrinfo.h: typo.

View file

@ -1,7 +1,8 @@
case RUBY_PLATFORM
when /cygwin/,/mingw/
$CFLAGS = "-fno-defer-pop -fno-omit-frame-pointer"
create_makefile("Win32API")
when /win32/
require 'mkmf'
if have_library("kernel32")
if Config::CONFIG["CC"] =~ /gcc/
$CFLAGS += "-fno-defer-pop -fno-omit-frame-pointer"
end
create_makefile("Win32API")
end