mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
8f6b1e000a
commit
e402358a33
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Aug 9 13:31:40 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* ext/Win32API/extconf.rb: check existence of <windows.h>.
|
||||
|
||||
Thu Aug 8 09:37:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* lib/optparse.rb (NilClass): must provide conversion block.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue