aboutsummaryrefslogtreecommitdiff
path: root/webrtc/libjingle/xmpp/xmpptask.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/libjingle/xmpp/xmpptask.cc')
-rw-r--r--webrtc/libjingle/xmpp/xmpptask.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webrtc/libjingle/xmpp/xmpptask.cc b/webrtc/libjingle/xmpp/xmpptask.cc
index 09067058ae..84f9ba6b92 100644
--- a/webrtc/libjingle/xmpp/xmpptask.cc
+++ b/webrtc/libjingle/xmpp/xmpptask.cc
@@ -24,7 +24,7 @@ XmppClientInterface::~XmppClientInterface() {
XmppTask::XmppTask(XmppTaskParentInterface* parent,
XmppEngine::HandlerLevel level)
: XmppTaskBase(parent), stopped_(false) {
-#ifdef _DEBUG
+#if !defined(NDEBUG)
debug_force_timeout_ = false;
#endif
@@ -70,7 +70,7 @@ void XmppTask::OnDisconnect() {
}
void XmppTask::QueueStanza(const XmlElement* stanza) {
-#ifdef _DEBUG
+#if !defined(NDEBUG)
if (debug_force_timeout_)
return;
#endif