Index: webrtc/base/common.h |
diff --git a/webrtc/base/common.h b/webrtc/base/common.h |
index e615c7669a40bd7e762e13c2cf55f4009464a78a..67665f2d4c6eca6a52702205d9451eda861b6a83 100644 |
--- a/webrtc/base/common.h |
+++ b/webrtc/base/common.h |
@@ -61,7 +61,11 @@ inline void RtcUnused(const void*) {} |
///////////////////////////////////////////////////////////////////////////// |
#ifndef ENABLE_DEBUG |
-#define ENABLE_DEBUG _DEBUG |
+#if !defined(NDEBUG) |
tfarina
2015/10/31 21:33:38
LGTM
|
+#define ENABLE_DEBUG 1 |
+#else |
+#define ENABLE_DEBUG 0 |
+#endif |
#endif // !defined(ENABLE_DEBUG) |
// Even for release builds, allow for the override of LogAssert. Though no |