diff options
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 |