diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-09 04:36:46 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-09 04:36:46 +0000 |
commit | e402358a33be63dd03c2821cead140c2275db477 (patch) | |
tree | 964d284f110e00c0830cbcff60693295e4f69959 /ext/Win32API | |
parent | 8f6b1e000a340020bfe16800ad2a45fb1b582758 (diff) |
* 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
Diffstat (limited to 'ext/Win32API')
-rw-r--r-- | ext/Win32API/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Win32API/extconf.rb b/ext/Win32API/extconf.rb index b69459c275..d7658cfff8 100644 --- a/ext/Win32API/extconf.rb +++ b/ext/Win32API/extconf.rb @@ -1,6 +1,6 @@ require 'mkmf' -if have_library("kernel32") +if have_header("windows.h") and have_library("kernel32") if Config::CONFIG["CC"] =~ /gcc/ $CFLAGS += "-fno-defer-pop -fno-omit-frame-pointer" end |