From 89afb970d88e3efa8ddb2f1eafff10cd6525f2b7 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 29 Jan 2012 19:28:19 +0000 Subject: VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWebAdmin.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'source/cWebAdmin.cpp') diff --git a/source/cWebAdmin.cpp b/source/cWebAdmin.cpp index 6f9546304..23348fcdc 100644 --- a/source/cWebAdmin.cpp +++ b/source/cWebAdmin.cpp @@ -1,5 +1,7 @@ + +#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules + #include "cWebAdmin.h" -#include "cMCLogger.h" #include "cStringMap.h" #include "cWebPlugin.h" @@ -8,24 +10,23 @@ #include "cPluginManager.h" #include "cPlugin.h" -#include "cEvent.h" #include "cWorld.h" #include "cPlayer.h" #include "cServer.h" #include "cRoot.h" -#include - #include "../iniFile/iniFile.h" -#include "MemoryLeak.h" #ifdef _WIN32 -#include + #include #else -#include -#define sprintf_s(dst, size, format, ...) sprintf(dst, format, __VA_ARGS__ ) + #include #endif + + + + extern std::vector StringSplit(std::string str, std::string delim); cWebAdmin* WebAdmin = 0; -- cgit v1.2.3