aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-18 19:27:17 -0500
committermegamage <none@none>2009-06-18 19:27:17 -0500
commita49c2982ba975a4c5dba7b1bf6a31a7c54a13c1d (patch)
treee7acd28b0fa53076221d335a9b033695f0abed2b /src/framework
parentfd73be2f1e2aa134f3b26277281411de691db04a (diff)
parent19225e8880b12bf3b72743ea253a94b52635a212 (diff)
*Merge.
*mtmap is disabled by default. To use it, define MULTI_THREAD_MAP in define.h *mtmap support is not provided for windows users. Because there is no free openmp lib for windows. If you have openmp lib and want to use openmp, you need to manually change the setting. --HG-- branch : trunk
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/Platform/Define.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h
index 57c5b1b59cd..8f10fc20020 100644
--- a/src/framework/Platform/Define.h
+++ b/src/framework/Platform/Define.h
@@ -137,7 +137,10 @@ 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