From ccfa678bc5d23f852d5f54bb7f6db053b5b227df Mon Sep 17 00:00:00 2001 From: Thomas Harning Jr Date: Mon, 28 Sep 2015 23:14:46 -0400 Subject: [PATCH] headers: updates Lua 5.2 workaround to allow 5.3 version --- include/luaevent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/luaevent.h b/include/luaevent.h index abd64f0..478c1da 100644 --- a/include/luaevent.h +++ b/include/luaevent.h @@ -25,8 +25,8 @@ #include -/* Workarounds for Lua 5.2 */ -#if (LUA_VERSION_NUM == 502) +/* Workarounds for Lua 5.2 and Lua 5.3 */ +#if (LUA_VERSION_NUM >= 502) #undef lua_equal #define lua_equal(L,idx1,idx2) lua_compare(L, (idx1), (idx2), LUA_OPEQ) -- 2.11.4.GIT