diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-28 18:10:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-28 18:10:45 +0200 |
commit | d90b6c02e2900576fb37d95b5e4f4a32b2d7383f (patch) | |
tree | bc0866d58541b5092f91fef70d0030eda0b0756e /src/if_lua.c | |
parent | f4145d8e990a72bdfea9db3110a7e42a0ff4240c (diff) | |
download | vim-git-d90b6c02e2900576fb37d95b5e4f4a32b2d7383f.tar.gz |
patch 7.4.2285v7.4.2285
Problem: Generated files are outdated.
Solution: Generate the files. Avoid errors when generating prototypes.
Diffstat (limited to 'src/if_lua.c')
-rw-r--r-- | src/if_lua.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/if_lua.c b/src/if_lua.c index 5803d0791..b77a3cd5d 100644 --- 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 |