Mercurial > vim
diff src/if_python.c @ 2612:fa5dee44df3f v7.3.034
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 23 Oct 2010 14:02:54 +0200 |
parents | 7abef60aca22 |
children | b803b2776880 |
line wrap: on
line diff
--- a/src/if_python.c +++ b/src/if_python.c @@ -110,7 +110,7 @@ struct PyMethodDef { Py_ssize_t a; }; # define close_dll dlclose # define symbol_from_dll dlsym # else -# define load_dll LoadLibrary +# define load_dll vimLoadLib # define close_dll FreeLibrary # define symbol_from_dll GetProcAddress # endif