Index: talk/session/media/srtpfilter.cc |
diff --git a/talk/session/media/srtpfilter.cc b/talk/session/media/srtpfilter.cc |
index 8a95b7541bea8e19e659c5a4405410bf66caf991..079ddfb57ee553474c2a42470c2de446d4b9c390 100644 |
--- a/talk/session/media/srtpfilter.cc |
+++ b/talk/session/media/srtpfilter.cc |
@@ -57,7 +57,7 @@ extern "C" { |
#ifdef ENABLE_EXTERNAL_AUTH |
#include "talk/session/media/externalhmac.h" |
#endif // ENABLE_EXTERNAL_AUTH |
-#ifdef _DEBUG |
+#if !defined(NDEBUG) |
extern "C" debug_module_t mod_srtp; |
extern "C" debug_module_t mod_auth; |
extern "C" debug_module_t mod_cipher; |
@@ -92,7 +92,7 @@ bool SrtpNotAvailable(const char *func) { |
void EnableSrtpDebugging() { |
#ifdef HAVE_SRTP |
-#ifdef _DEBUG |
+#if !defined(NDEBUG) |
debug_on(mod_srtp); |
debug_on(mod_auth); |
debug_on(mod_cipher); |