fix lua5.2 compiling (that isn't defined until we include the headers ...)

This commit is contained in:
jacob1 2015-02-14 00:01:31 -05:00
parent 57d1b4916d
commit b06af530a5

View File

@ -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"