diff options
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/Platform/Define.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index dc5c248bf8c..d29a53dbf31 100644 --- a/src/framework/Platform/Define.h +++ b/src/framework/Platform/Define.h @@ -137,11 +137,6 @@ typedef uint32 DWORD; typedef uint64 OBJECT_HANDLE; -#define MULTI_THREAD_MAP -#ifdef MULTI_THREAD_MAP -#define MAP_BASED_RAND_GEN -#endif - #define MaNGOS Trinity #define MANGOS_DLL_DECL TRINITY_DLL_DECL #define MANGOS_DLL_SPEC TRINITY_DLL_SPEC @@ -156,6 +151,14 @@ typedef uint64 OBJECT_HANDLE; # endif #endif +#if !defined(DEBUG) && !defined(MANGOS_DEBUG) && !defined(TRINITY_DEBUG) +#define MULTI_THREAD_MAP +#endif + +#ifdef MULTI_THREAD_MAP +#define MAP_BASED_RAND_GEN +#endif + #ifndef CLIENT_VER #define CLIENT_VER 313 #endif |
