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.
diff --git a/src/if_lua.c b/src/if_lua.c
index e94c96d..46f881a 100644
--- a/src/if_lua.c
+++ b/src/if_lua.c
@@ -402,12 +402,7 @@
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 */