aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-private.h')
-rw-r--r--camel/providers/imap/camel-imap-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-private.h b/camel/providers/imap/camel-imap-private.h
index 811efc5576..6004840f88 100644
--- a/camel/providers/imap/camel-imap-private.h
+++ b/camel/providers/imap/camel-imap-private.h
@@ -47,9 +47,15 @@ struct _CamelImapStorePrivate {
#ifdef ENABLE_THREADS
#define CAMEL_IMAP_STORE_LOCK(f, l) (e_mutex_lock(((CamelImapStore *)f)->priv->l))
#define CAMEL_IMAP_STORE_UNLOCK(f, l) (e_mutex_unlock(((CamelImapStore *)f)->priv->l))
+# if 0
+# define CAMEL_IMAP_STORE_ASSERT_LOCKED(f, l) (e_mutex_assert_locked(((CamelImapStore *)f)->priv->l))
+# else
+# define CAMEL_IMAP_STORE_ASSERT_LOCKED(f, l)
+# endif
#else
#define CAMEL_IMAP_STORE_LOCK(f, l)
#define CAMEL_IMAP_STORE_UNLOCK(f, l)
+#define CAMEL_IMAP_STORE_ASSERT_LOCKED(f, l)
#endif
struct _CamelImapFolderPrivate {