aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/framework/Platform/Define.h11
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