diff options
Diffstat (limited to 'src/common/Logging')
-rw-r--r-- | src/common/Logging/Log.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/Logging/Log.h b/src/common/Logging/Log.h index 498bd830676..c5ca989ef5d 100644 --- a/src/common/Logging/Log.h +++ b/src/common/Logging/Log.h @@ -143,7 +143,9 @@ class TC_COMMON_API Log } \ } -#if TRINITY_PLATFORM != TRINITY_PLATFORM_WINDOWS +#ifdef PERFORMANCE_PROFILING +#define TC_LOG_MESSAGE_BODY(filterType__, level__, ...) ((void)0) +#elif TRINITY_PLATFORM != TRINITY_PLATFORM_WINDOWS void check_args(char const*, ...) ATTR_PRINTF(1, 2); void check_args(std::string const&, ...); |