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

* ext/win32ole/win32ole.c: NONAMELESSUNION defined only if gcc

version is older than 3.4.4. [ruby-core:31567] [Bug #3637]
* ext/win32ole/extconf.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
suke 2010-08-02 12:21:00 +00:00
parent 6198f539bb
commit d4fc0799b7
3 changed files with 16 additions and 4 deletions

View file

@ -38,7 +38,5 @@ end
case RUBY_PLATFORM
when /mswin/
$CFLAGS += ' /W3'
when /cygwin/, /mingw/
$defs << '-DNONAMELESSUNION'
end
create_win32ole_makefile