diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-14 12:44:37 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-14 12:44:37 +0000 |
commit | f457364caef3999c920a946a2d0294692a6973c7 (patch) | |
tree | 603cd4aea8be2bc6cb10a87e50e17e96c4877626 /ext/win32ole/extconf.rb | |
parent | 1288965f4e464686a95b701a2573f5a3cc406569 (diff) | |
download | ruby-f457364caef3999c920a946a2d0294692a6973c7.tar.gz |
* ext/win32ole/win32ole.c (load_conv_function51932): check
having IMultiLanguage2 or IMultiLanguage. [ruby-dev:36716]
* ext/win32ole/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/extconf.rb')
-rw-r--r-- | ext/win32ole/extconf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/win32ole/extconf.rb b/ext/win32ole/extconf.rb index d8534291e4..06a3f14c43 100644 --- a/ext/win32ole/extconf.rb +++ b/ext/win32ole/extconf.rb @@ -24,6 +24,9 @@ def create_win32ole_makefile have_library("kernel32") and have_library("advapi32") and have_header("windows.h") + unless have_type("IMultiLanguage2", "mlang.h") + have_type("IMultiLanguage", "mlang.h") + end create_makefile("win32ole") create_docfile(SRCFILES) else |