diff src/if_lua.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 8c512e2c7cb5
children 0c7d6d01e058
line wrap: on
line diff
--- a/src/if_lua.c
+++ b/src/if_lua.c
@@ -49,7 +49,7 @@ static const char LUAVIM_FREE[] = "luaV_
 # 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