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
+4
View File
@@ -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);
+5 -1
View File
@@ -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
+4
View File
@@ -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);