From 3c11f8f26b5f465c3b46e7eae7afd3149ed65cf0 Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Mon, 20 May 2013 22:20:01 -0700 Subject: [PATCH] simplified the includes to be a bit clearer. --- zone/net.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/zone/net.cpp b/zone/net.cpp index c42242801..896adb49f 100644 --- a/zone/net.cpp +++ b/zone/net.cpp @@ -1,4 +1,3 @@ -#define DONT_SHARED_OPCODES /* EQEMu: Everquest Server Emulator Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org) @@ -16,6 +15,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +#define DONT_SHARED_OPCODES + #include "../common/debug.h" #include "../common/features.h" #include "../common/queue.h" @@ -68,15 +70,12 @@ #ifdef _CRTDBG_MAP_ALLOC #undef new -#endif - -#ifdef _CRTDBG_MAP_ALLOC #define new new(_NORMAL_BLOCK, __FILE__, __LINE__) #endif #ifdef _WINDOWS #include - + #include #if (_MSC_VER < 1500) #define vsnprintf _vsnprintf #endif @@ -84,10 +83,6 @@ #define snprintf _snprintf #define strncasecmp _strnicmp #define strcasecmp _stricmp -#endif - -#ifdef _WINDOWS - #include #else #include #include "../common/unix.h"