Removed preprocessor switch surrounding library headers

This commit is contained in:
Kayne Ruse
2015-01-03 03:20:13 +11:00
parent 0344fe0d6d
commit 877c0f59d3
27 changed files with 29 additions and 139 deletions
+1 -5
View File
@@ -22,11 +22,7 @@
#ifndef MONSTERAPI_HPP_
#define MONSTERAPI_HPP_
#if defined(__MINGW32__)
#include "lua/lua.hpp"
#else
#include "lua.hpp"
#endif
#include "lua.hpp"
#define TORTUGA_MONSTER_API "monster"
LUAMOD_API int openMonsterAPI(lua_State* L);
+2 -7
View File
@@ -25,13 +25,8 @@
#include "monster_data.hpp"
#include "singleton.hpp"
#ifdef __unix__
#include "lua.hpp"
#include "sqlite3.h"
#else
#include "lua/lua.hpp"
#include "sqlite3/sqlite3.h"
#endif
#include "lua.hpp"
#include "sqlite3.h"
#include <functional>
#include <map>
+1 -5
View File
@@ -22,11 +22,7 @@
#ifndef MONSTERMANAGERAPI_HPP_
#define MONSTERMANAGERAPI_HPP_
#if defined(__MINGW32__)
#include "lua/lua.hpp"
#else
#include "lua.hpp"
#endif
#include "lua.hpp"
#define TORTUGA_MONSTER_MANAGER_API "monster_manager"
LUAMOD_API int openMonsterManagerAPI(lua_State* L);