Added unix compatability

This commit is contained in:
fro_ozen
2014-10-18 20:10:17 +02:00
parent 12cc970bf1
commit de7167e830
18 changed files with 80 additions and 7 deletions
+5 -1
View File
@@ -34,7 +34,11 @@
#define linit_c
#define LUA_LIB
#ifdef __unix__
#include "lua.hpp"
#else
#include "lua/lua.hpp"
#endif
#include "region_api.hpp"
#include "region_pager_api.hpp"
@@ -86,4 +90,4 @@ LUALIB_API void luaL_openlibs (lua_State *L) {
lua_setfield(L, -2, lib->name);
}
lua_pop(L, 1); //remove _PRELOAD table
}
}