diff options
author | Kudlaty <none@none> | 2009-11-28 15:37:55 +0100 |
---|---|---|
committer | Kudlaty <none@none> | 2009-11-28 15:37:55 +0100 |
commit | a73a8dc549ccca072f8897e364446a93d6337f28 (patch) | |
tree | e129eaacfb0810ccd28395a04e6121ceecd44283 /src | |
parent | 3f4bf697b8eb6239748ca728ec17a67322f7924d (diff) |
Add option to cmake if should compile with multi thread maps or not.
Usage with: -DUSE_MULTI_THREAD_MAP=true (this will compile with multi thread maps
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/framework/Platform/Define.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index ad2c8b9b179..9536098258a 100644 --- a/src/framework/Platform/Define.h +++ b/src/framework/Platform/Define.h @@ -152,7 +152,9 @@ typedef uint64 OBJECT_HANDLE; #endif #if !defined(DEBUG) && !defined(MANGOS_DEBUG) && !defined(TRINITY_DEBUG) -//#define MULTI_THREAD_MAP + #if defined(USE_MULTI_THREAD_MAP) + #define MULTI_THREAD_MAP + #endif #endif #ifdef MULTI_THREAD_MAP |