summaryrefslogtreecommitdiff
path: root/src/if_python.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-10-23 14:02:54 +0200
committerBram Moolenaar <Bram@vim.org>2010-10-23 14:02:54 +0200
commitebbcb824baf770e42ad53c532905a329d762e94e (patch)
tree103c8a111f4c16c2a619f66127708e24d28d39b9 /src/if_python.c
parentb8e86705ca09deeee5044af6e3afb4e9999eceb5 (diff)
downloadvim-git-ebbcb824baf770e42ad53c532905a329d762e94e.tar.gz
updated for version 7.3.034v7.3.034
Problem: Win32: may be loading .dll from the wrong directory. Solution: Go to the Vim executable directory when opening a library.
Diffstat (limited to 'src/if_python.c')
-rw-r--r--src/if_python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_python.c b/src/if_python.c
index 7b1d6e7b0..f9bcf5892 100644
--- 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