From a73a8dc549ccca072f8897e364446a93d6337f28 Mon Sep 17 00:00:00 2001 From: Kudlaty Date: Sat, 28 Nov 2009 15:37:55 +0100 Subject: 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 --- src/framework/Platform/Define.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3