aboutsummaryrefslogtreecommitdiffstats
path: root/antispam-plugin.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-04-26 20:26:39 +0200
committerJohannes Berg <johannes@sipsolutions.net>2008-04-26 20:26:39 +0200
commitfd7d4c8a31604c9888aed9bc47b1218a7e4495f8 (patch)
tree10a9cee72b973a1e5e3ac63703db4f31f39054cc /antispam-plugin.h
parentba068756b782e55251bd58ac67f0a9700f745fbe (diff)
downloaddovecot-antispam-fd7d4c8a31604c9888aed9bc47b1218a7e4495f8.tar.gz
dovecot-antispam-fd7d4c8a31604c9888aed9bc47b1218a7e4495f8.tar.xz
dovecot-antispam-fd7d4c8a31604c9888aed9bc47b1218a7e4495f8.zip
backend preparations for 1.1
Diffstat (limited to 'antispam-plugin.h')
-rw-r--r--antispam-plugin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/antispam-plugin.h b/antispam-plugin.h
index f614894..dba8ed0 100644
--- a/antispam-plugin.h
+++ b/antispam-plugin.h
@@ -73,5 +73,12 @@ bool keyword_is_spam(const char *keyword);
extern bool need_keyword_hook;
extern bool need_folder_hook;
+
+#ifdef CONFIG_DOVECOT_11
+#define __attr_unused__ ATTR_UNUSED
+#define ME(err) MAIL_ERROR_ ##err,
+#else
+#define ME(err)
+#endif
#endif /* _ANTISPAM_PLUGIN_H */