Added unix compatability
This commit is contained in:
+5
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user