diff options
author | megamage <none@none> | 2009-07-24 09:02:24 +0800 |
---|---|---|
committer | megamage <none@none> | 2009-07-24 09:02:24 +0800 |
commit | 5b4006ceed034009e76fe5cf58b3ce6e5217f985 (patch) | |
tree | a8481f4b8d337c81b343ef6d6526e74bdf7ce671 /src | |
parent | 6482be4f0bcd40563f85ee17e8d48c1e702b8fae (diff) |
[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
Diffstat (limited to 'src')
-rw-r--r-- | src/framework/Platform/Define.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 |