forked from aniani/vim
patch 7.4.1065
Problem: Cannot use the "dll" options on MS-Windows. Solution: Support the options on all platforms. Use the built-in name as the default, so that it's clear what Vim is looking for.
This commit is contained in:
@@ -402,12 +402,7 @@ lua_link_init(char *libname, int verbose)
|
||||
int
|
||||
lua_enabled(int verbose)
|
||||
{
|
||||
#ifdef WIN3264
|
||||
char *dll = DYNAMIC_LUA_DLL;
|
||||
#else
|
||||
char *dll = *p_luadll ? (char *)p_luadll : DYNAMIC_LUA_DLL;
|
||||
#endif
|
||||
return lua_link_init(dll, verbose) == OK;
|
||||
return lua_link_init((char *)p_luadll, verbose) == OK;
|
||||
}
|
||||
|
||||
#endif /* DYNAMIC_LUA */
|
||||
|
Reference in New Issue
Block a user