From 39fb3e04c4599a0e1071400fb94ecb7036a60643 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 21 Sep 2020 17:10:56 +0100 Subject: [PATCH] [Minor] Sigh, another try to fix stupid condition --- src/lua/lua_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index fad82cf65..c63b35204 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -47,7 +47,7 @@ luaL_register (lua_State *L, const gchar *name, const struct luaL_reg *methods) #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM == 501 /* Special hack to work with moonjit of specific version */ -#if !defined(MOONJIT_VERSION) || (!defined(LUAJIT_VERSION_NUM) || LUAJIT_VERSION_NUM != 20200) +#if !defined(MOONJIT_VERSION) && (!defined(LUAJIT_VERSION_NUM) || LUAJIT_VERSION_NUM != 20200) static inline int lua_absindex (lua_State *L, int i) { if (i < 0 && i > LUA_REGISTRYINDEX) i += lua_gettop(L) + 1; -- 2.39.5