diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-13 03:23:12 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-13 03:23:12 +0000 |
commit | fb4c6a88fe584d0bc11507023b208a210b80a71f (patch) | |
tree | 9c55b51344359cc165a6894ec0db62b75011f5c2 /third_party/libjingle/files/talk/xmpp/xmpptask.h | |
parent | 4634dfa6cd9128f1aad2b455a43e802ad82510a5 (diff) | |
download | chromium_src-fb4c6a88fe584d0bc11507023b208a210b80a71f.zip chromium_src-fb4c6a88fe584d0bc11507023b208a210b80a71f.tar.gz chromium_src-fb4c6a88fe584d0bc11507023b208a210b80a71f.tar.bz2 |
Use NDEBUG instead of _DEBUG for libjingle. This makes it so that debug code is used on non-Windows platforms, too.
BUG=31255
TEST=trybots
Review URL: http://codereview.chromium.org/542004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libjingle/files/talk/xmpp/xmpptask.h')
-rw-r--r-- | third_party/libjingle/files/talk/xmpp/xmpptask.h | 4 |
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 }; |