From b06af530a508ed4d51bc1f49810c46ec26fed407 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 14 Feb 2015 00:01:31 -0500 Subject: [PATCH] fix lua5.2 compiling (that isn't defined until we include the headers ...) --- src/lua/LuaCompat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/LuaCompat.h b/src/lua/LuaCompat.h index e8cd01fae..ec36f792c 100644 --- a/src/lua/LuaCompat.h +++ b/src/lua/LuaCompat.h @@ -10,7 +10,7 @@ extern "C" #include "lua.h" #include "lauxlib.h" #include "lualib.h" -#elif LUA_VERSION_NUM >= 502 +#elif defined(LUA_COMPAT_ALL) #include "lua5.2/lua.h" #include "lua5.2/lauxlib.h" #include "lua5.2/lualib.h"