From 5b4006ceed034009e76fe5cf58b3ce6e5217f985 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 24 Jul 2009 09:02:24 +0800 Subject: [8194] Use _SECURE_SCL=0 for speedup iterators work at Windows platform in release mode. Author: Ambal Change added for VC80/VC90, but not added for VC10. --HG-- branch : trunk --- src/framework/Platform/Define.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index 8f10fc20020..35bc07f5656 100644 --- a/src/framework/Platform/Define.h +++ b/src/framework/Platform/Define.h @@ -145,8 +145,17 @@ typedef uint64 OBJECT_HANDLE; #define MaNGOS Trinity #define MANGOS_DLL_DECL TRINITY_DLL_DECL #define MANGOS_DLL_SPEC TRINITY_DLL_SPEC -#define MANGOS_DEBUG TRINITY_DEBUG #define GetMangosString GetTrinityString +#if defined(MANGOS_DEBUG) || defined(TRINITY_DEBUG) +# ifndef TRINITY_DEBUG +# define TRINITY_DEBUG +# endif +# ifndef MANGOS_DEBUG +# define MANGOS_DEBUG +# endif +#endif + + #endif //TRINITY_DEFINE_H -- cgit v1.2.3