summaryrefslogtreecommitdiffstats
path: root/third_party/libjingle/files/talk/xmpp/xmpptask.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libjingle/files/talk/xmpp/xmpptask.h')
-rw-r--r--third_party/libjingle/files/talk/xmpp/xmpptask.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/libjingle/files/talk/xmpp/xmpptask.h b/third_party/libjingle/files/talk/xmpp/xmpptask.h
index 156c9a5..fc8e076 100644
--- a/third_party/libjingle/files/talk/xmpp/xmpptask.h
+++ b/third_party/libjingle/files/talk/xmpp/xmpptask.h
@@ -77,7 +77,7 @@ class XmppTask :
std::string task_id() const { return id_; }
void set_task_id(std::string id) { id_ = id; }
-#ifdef _DEBUG
+#if !defined(NDEBUG)
void set_debug_force_timeout(const bool f) { debug_force_timeout_ = f; }
#endif
@@ -120,7 +120,7 @@ private:
scoped_ptr<XmlElement> next_stanza_;
std::string id_;
-#ifdef _DEBUG
+#if !defined(NDEBUG)
bool debug_force_timeout_;
#endif
};