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 MAPSYSTEMAPI_HPP_
#define MAPSYSTEMAPI_APP_
#if defined(__MINGW32__)
#include "lua/lua.hpp"
#else
#include "lua.hpp"
#endif
#include "lua.hpp"
#define TORTUGA_MAP_SYSTEM_API "map_system"
LUAMOD_API int openMapSystemAPI(lua_State* L);
+1 -5
View File
@@ -22,11 +22,7 @@
#ifndef REGIONAPI_HPP_
#define REGIONAPI_HPP_
#if defined(__MINGW32__)
#include "lua/lua.hpp"
#else
#include "lua.hpp"
#endif
#include "lua.hpp"
#define TORTUGA_REGION_NAME "region"
LUAMOD_API int openRegionAPI(lua_State* L);
+1 -5
View File
@@ -22,11 +22,7 @@
#ifndef REGIONPAGERAPI_HPP_
#define REGIONPAGERAPI_HPP_
#if defined(__MINGW32__)
#include "lua/lua.hpp"
#else
#include "lua.hpp"
#endif
#include "lua.hpp"
#define TORTUGA_REGION_PAGER_NAME "region_pager"
LUAMOD_API int openRegionPagerAPI(lua_State* L);
+1 -5
View File
@@ -24,11 +24,7 @@
#include "region_pager_base.hpp"
#if defined(__MINGW32__)
#include "lua/lua.hpp"
#else
#include "lua.hpp"
#endif
#include "lua.hpp"
#include <functional>
#include <string>
+1 -5
View File
@@ -22,11 +22,7 @@
#ifndef TILESHEETAPI_HPP_
#define TILESHEETAPI_HPP_
#if defined(__MINGW32__)
#include "lua/lua.hpp"
#else
#include "lua.hpp"
#endif
#include "lua.hpp"
#define TORTUGA_TILE_SHEET_NAME "tile_sheet"
LUAMOD_API int openTileSheetAPI(lua_State* L);