aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Logging/Log.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2013-05-13 18:10:20 +0200
committerShauren <shauren.trinity@gmail.com>2013-05-13 18:10:20 +0200
commit86d846e62767df637631ff20764a65dcdfbcd72d (patch)
treebc3872fc2146513ed0acc2ea6f2acd4a168ad096 /src/server/shared/Logging/Log.h
parent6bc144a328b377a37aec14fda2303e51367dc130 (diff)
Core: Fixed windows compile
Diffstat (limited to 'src/server/shared/Logging/Log.h')
-rw-r--r--src/server/shared/Logging/Log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/shared/Logging/Log.h b/src/server/shared/Logging/Log.h
index d7612c76738..e35e4f3ab7f 100644
--- a/src/server/shared/Logging/Log.h
+++ b/src/server/shared/Logging/Log.h
@@ -96,14 +96,14 @@ inline bool Log::ShouldLog(LogFilterType type, LogLevel level) const
#define sLog ACE_Singleton<Log, ACE_Thread_Mutex>::instance()
-#if PLATFORM != PLATFORM_WINDOWS
-# define TC_LOG_MESSAGE_BODY(level__, call__, filterType__, ...) \
+#if COMPILER != COMPILER_MICROSOFT
+#define TC_LOG_MESSAGE_BODY(level__, call__, filterType__, ...) \
do { \
if (sLog->ShouldLog(filterType__, level__)) \
sLog->call__(filterType__, __VA_ARGS__); \
} while (0)
#else
-# define TC_LOG_MESSAGE_BODY(level__, call__, filterType__, ...) \
+#define TC_LOG_MESSAGE_BODY(level__, call__, filterType__, ...) \
__pragma(warning(push)) \
__pragma(warning(disable:4127)) \
do { \