Index: webrtc/base/logging.h |
diff --git a/webrtc/base/logging.h b/webrtc/base/logging.h |
index 1208275a341b516c6a76566c0dddef87ceb2b624..e40ca4465fdcfb11d12532422b4a226f0a5fc169 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 |