1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-24 05:37:45 +00:00

fix windows build

This commit is contained in:
NotAdam 2020-02-25 15:55:01 +11:00
parent 100ece6386
commit b79a422330
3 changed files with 11 additions and 5 deletions

View file

@ -13,6 +13,11 @@
#include <set> #include <set>
#include <variant> #include <variant>
#if _WIN32
#undef near
#undef far
#endif
namespace Sapphire { namespace Sapphire {
namespace Data { namespace Data {

View file

@ -13,8 +13,12 @@
#include <set> #include <set>
#include <variant> #include <variant>
namespace Sapphire { #if _WIN32
namespace Data { #undef near
#undef far
#endif
namespace Sapphire::Data {
class ExdDataGenerated; class ExdDataGenerated;
@ -89,7 +93,6 @@ IDLISTGETTERS
}; };
} }
}
#endif #endif

View file

@ -26,8 +26,6 @@
#include "Script/ScriptMgr.h" #include "Script/ScriptMgr.h"
#include <Exd/ExdDataGenerated.h>
#include <Database/ZoneDbConnection.h> #include <Database/ZoneDbConnection.h>
#include <Database/DbWorkerPool.h> #include <Database/DbWorkerPool.h>
#include "Manager/LinkshellMgr.h" #include "Manager/LinkshellMgr.h"