1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/Win32API/extconf.rb
eban e402358a33 * ext/Win32API/extconf.rb: check existence of <windows.h>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-09 04:36:46 +00:00

8 lines
204 B
Ruby

require 'mkmf'
if have_header("windows.h") and have_library("kernel32")
if Config::CONFIG["CC"] =~ /gcc/
$CFLAGS += "-fno-defer-pop -fno-omit-frame-pointer"
end
create_makefile("Win32API")
end