summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-26 18:15:56 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-26 18:15:56 -0600
commit84889ea4c0051c9b4b91e3361f6156e6f1f726dd (patch)
tree09fc755684fb1792d039f8673b8e2340f5b72f43 /kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h
parent2c67f751ab4568d9c1d33d9a4be31e0ca33e8342 (diff)
downloadtdenetwork-84889ea4c0051c9b4b91e3361f6156e6f1f726dd.tar.gz
tdenetwork-84889ea4c0051c9b4b91e3361f6156e6f1f726dd.zip
Fix automake warnings.
Diffstat (limited to 'kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h')
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h b/kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h
index b75ad5c7..145ceba1 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h
@@ -40,7 +40,7 @@
#define CS_TRACK_OWNER 1
#endif // _DEBUG
-#if CS_TRACK_OWNER
+#ifdef CS_TRACK_OWNER
#define TRACK_OWNER(x) x
#else // !CS_TRACK_OWNER
#define TRACK_OWNER(x)
@@ -68,7 +68,7 @@ public:
LeaveCriticalSection(&crit_);
}
-#if CS_TRACK_OWNER
+#ifdef CS_TRACK_OWNER
bool CurrentThreadIsOwner() const { return thread_ == GetCurrentThreadId(); }
#endif // CS_TRACK_OWNER