summaryrefslogtreecommitdiff
path: root/src/if_lua.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-28 18:10:45 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-28 18:10:45 +0200
commitd90b6c02e2900576fb37d95b5e4f4a32b2d7383f (patch)
treebc0866d58541b5092f91fef70d0030eda0b0756e /src/if_lua.c
parentf4145d8e990a72bdfea9db3110a7e42a0ff4240c (diff)
downloadvim-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.c5
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