summaryrefslogtreecommitdiff
path: root/ext/Win32API/extconf.rb
diff options
context:
space:
mode:
author(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-02-27 07:48:11 +0000
committer(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-02-27 07:48:11 +0000
commit7425d4f6ef047dd274cbea8115955462d5449330 (patch)
tree575dcd5c8f6df0908e4198376441d4257dcde75d /ext/Win32API/extconf.rb
parentfd1d8cdc09ed86e4a0812120a17ff0d7b04adcaf (diff)
This commit was manufactured by cvs2svn to create tag 'r1_1b9'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/r1_1b9@100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/Win32API/extconf.rb')
-rw-r--r--ext/Win32API/extconf.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/Win32API/extconf.rb b/ext/Win32API/extconf.rb
new file mode 100644
index 0000000000..78b5f6a1e8
--- /dev/null
+++ b/ext/Win32API/extconf.rb
@@ -0,0 +1,7 @@
+if PLATFORM =~ /win32/i
+ $:.unshift '../..'
+ require 'rbconfig'
+ include Config
+ $CFLAGS = "-fno-defer-pop" if /gcc/ =~ CONFIG['CC']
+ create_makefile("Win32API")
+end