diff options
Diffstat (limited to 'webrtc/base/logging.h')
-rw-r--r-- | webrtc/base/logging.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/base/logging.h b/webrtc/base/logging.h index 1208275a34..e40ca4465f 100644 --- a/webrtc/base/logging.h +++ b/webrtc/base/logging.h @@ -285,7 +285,7 @@ class LogMessageVoidify { rtc::LogMessage(__FILE__, __LINE__, sev).stream() // The _F version prefixes the message with the current function name. -#if (defined(__GNUC__) && defined(_DEBUG)) || defined(WANT_PRETTY_LOG_F) +#if (defined(__GNUC__) && !defined(NDEBUG)) || defined(WANT_PRETTY_LOG_F) #define LOG_F(sev) LOG(sev) << __PRETTY_FUNCTION__ << ": " #define LOG_T_F(sev) LOG(sev) << this << ": " << __PRETTY_FUNCTION__ << ": " #else |