Index: webrtc/base/logging.cc |
diff --git a/webrtc/base/logging.cc b/webrtc/base/logging.cc |
index 07cc380fbcfbcf8051d1926126750e61d30b6069..ca19d55deab41582538eab70101f5abe133ad4c2 100644 |
--- a/webrtc/base/logging.cc |
+++ b/webrtc/base/logging.cc |
@@ -347,7 +347,7 @@ void LogMessage::OutputToDebug(const std::string& str, |
LoggingSeverity severity, |
const std::string& tag) { |
bool log_to_stderr = log_to_stderr_; |
-#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) && (!defined(DEBUG) || defined(NDEBUG)) |
+#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) && !defined(_DEBUG) |
Taylor Brandstetter
2015/09/23 18:08:34
I removed the "NDEBUG" check because NDEBUG contro
pthatcher1
2015/09/23 18:12:11
But are any applications going to set NDEBUG and n
|
// On the Mac, all stderr output goes to the Console log and causes clutter. |
// So in opt builds, don't log to stderr unless the user specifically sets |
// a preference to do so. |