comparison src/if_lua.c @ 7196:42717d048817 v7.4.907

commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 2 15:28:18 2015 +0100 patch 7.4.907 Problem: Libraries for dynamically loading interfaces can only be defined at compile time. Solution: Add options to specify the dll names. (Kazuki Sakamoto, closes #452)
author Christian Brabandt <cb@256bit.org>
date Mon, 02 Nov 2015 15:30:05 +0100
parents 1e621b31948b
children 67c7a524b84f
comparison
equal deleted inserted replaced
7195:6e4b63231a86 7196:42717d048817
400 } 400 }
401 401
402 int 402 int
403 lua_enabled(int verbose) 403 lua_enabled(int verbose)
404 { 404 {
405 return lua_link_init(DYNAMIC_LUA_DLL, verbose) == OK; 405 #ifdef WIN3264
406 char *dll = DYNAMIC_LUA_DLL;
407 #else
408 char *dll = *p_luadll ? (char *)p_luadll : DYNAMIC_LUA_DLL;
409 #endif
410 return lua_link_init(dll, verbose) == OK;
406 } 411 }
407 412
408 #endif /* DYNAMIC_LUA */ 413 #endif /* DYNAMIC_LUA */
409 414
410 #if LUA_VERSION_NUM > 501 415 #if LUA_VERSION_NUM > 501