summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jingle/libjingle/talk/base/criticalsection.h
diff options
context:
space:
mode:
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