diff options
Diffstat (limited to 'xC.c')
| -rw-r--r-- | xC.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11633,7 +11633,11 @@ static struct plugin * lua_plugin_load (struct app_context *ctx, const char *filename, struct error **e) { +#if LUA_VERSION_NUM >= 505 + lua_State *L = lua_newstate (lua_plugin_alloc, NULL, 0); +#else lua_State *L = lua_newstate (lua_plugin_alloc, NULL); +#endif if (!L) { error_set (e, "Lua initialization failed"); |
