From 25e4fcde767084d1a79e0926bc301c92987c0cce Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 9 Jan 2016 14:57:47 +0100 Subject: 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. --- src/if_lua.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/if_lua.c') diff --git a/src/if_lua.c b/src/if_lua.c index e94c96dff..46f881a9b 100644 --- a/src/if_lua.c +++ b/src/if_lua.c @@ -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 */ -- cgit v1.2.1