Added unix compatability
This commit is contained in:
@@ -22,7 +22,11 @@
|
||||
#ifndef ROOMAPI_HPP_
|
||||
#define ROOMAPI_HPP_
|
||||
|
||||
#ifdef __unix__
|
||||
#include "lua.hpp"
|
||||
#else
|
||||
#include "lua/lua.hpp"
|
||||
#endif
|
||||
|
||||
#define TORTUGA_ROOM_NAME "Room"
|
||||
LUAMOD_API int openRoomAPI(lua_State* L);
|
||||
|
||||
@@ -26,7 +26,11 @@
|
||||
#include "singleton.hpp"
|
||||
#include "manager_interface.hpp"
|
||||
|
||||
#ifdef __unix__
|
||||
#include "lua.hpp"
|
||||
#else
|
||||
#include "lua/lua.hpp"
|
||||
#endif
|
||||
|
||||
class RoomManager:
|
||||
public Singleton<RoomManager>,
|
||||
@@ -63,4 +67,4 @@ private:
|
||||
int counter = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -22,7 +22,11 @@
|
||||
#ifndef ROOMMANAGERAPI_HPP_
|
||||
#define ROOMMANAGERAPI_HPP_
|
||||
|
||||
#ifdef __unix__
|
||||
#include "lua.hpp"
|
||||
#else
|
||||
#include "lua/lua.hpp"
|
||||
#endif
|
||||
|
||||
#define TORTUGA_ROOM_MANAGER_NAME "RoomManager"
|
||||
LUAMOD_API int openRoomManagerAPI(lua_State* L);
|
||||
|
||||
Reference in New Issue
Block a user