Update webrtc/base/common.h after recent _DEBUG->!NDEBUG change.

R=tfarina@chromium.org
TBR=tfarina@chromium.org
BUG=

Review URL: https://codereview.webrtc.org/1410113007 .

Cr-Commit-Position: refs/heads/master@{#10470}
This commit is contained in:
Tommi 2015-10-31 22:41:43 +01:00
parent 4040d1e88a
commit e502bbe138

View File

@ -61,7 +61,11 @@ inline void RtcUnused(const void*) {}
/////////////////////////////////////////////////////////////////////////////
#ifndef ENABLE_DEBUG
#define ENABLE_DEBUG _DEBUG
#if !defined(NDEBUG)
#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