Mercurial > vim
diff src/if_lua.c @ 10025:068f397d0da4 v7.4.2285
commit https://github.com/vim/vim/commit/d90b6c02e2900576fb37d95b5e4f4a32b2d7383f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 28 18:10:45 2016 +0200
patch 7.4.2285
Problem: Generated files are outdated.
Solution: Generate the files. Avoid errors when generating prototypes.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 28 Aug 2016 18:15:05 +0200 |
parents | fd9727ae3c49 |
children | 6c3d42d18366 |
line wrap: on
line diff
--- a/src/if_lua.c +++ b/src/if_lua.c @@ -398,14 +398,15 @@ lua_link_init(char *libname, int verbose } return OK; } +#endif /* DYNAMIC_LUA */ +#if defined(DYNAMIC_LUA) || defined(PROTO) int lua_enabled(int verbose) { return lua_link_init((char *)p_luadll, verbose) == OK; } - -#endif /* DYNAMIC_LUA */ +#endif #if LUA_VERSION_NUM > 501 static int