diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2026-03-28 03:48:09 +0100 |
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2026-03-28 03:50:44 +0100 |
| commit | 5ba2c825a17cd9b7f2ef2c628b0e310d1c47a981 (patch) | |
| tree | 8f5be0a1018432119c00b3a3b12a77d307a54947 /xC.c | |
| parent | d11bd2c54e9328f7208a3c37f67c8ba801698c1b (diff) | |
| download | xK-5ba2c825a17cd9b7f2ef2c628b0e310d1c47a981.tar.gz xK-5ba2c825a17cd9b7f2ef2c628b0e310d1c47a981.tar.xz xK-5ba2c825a17cd9b7f2ef2c628b0e310d1c47a981.zip | |
xC: fix Lua 5.5 buildorigin/master
Everything appears to work, not inspecting this in depth.
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"); |
