commit | ebbcb824baf770e42ad53c532905a329d762e94e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Oct 23 14:02:54 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Oct 23 14:02:54 2010 +0200 |
tree | 103c8a111f4c16c2a619f66127708e24d28d39b9 | |
parent | b8e86705ca09deeee5044af6e3afb4e9999eceb5 [diff] [blame] |
updated for version 7.3.034 Problem: Win32: may be loading .dll from the wrong directory. Solution: Go to the Vim executable directory when opening a library.
diff --git a/src/if_ruby.c b/src/if_ruby.c index 9ea9a1a..d7df248 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c
@@ -55,7 +55,7 @@ # define symbol_from_dll dlsym # define close_dll dlclose #else -# define load_dll LoadLibrary +# define load_dll vimLoadLib # define symbol_from_dll GetProcAddress # define close_dll FreeLibrary #endif