aboutsummaryrefslogtreecommitdiffstats
path: root/antispam-plugin.h
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-06-04 03:22:53 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2009-06-04 03:22:53 +0200
commit26730e6192cd6fa218a4a900612d6eb8236ebeff (patch)
treedd5e4ef5b911e283bec203c905090bb9eefac95e /antispam-plugin.h
parentdb3c7e32a49b5fe6ddba18eab16e9258c26bfcf1 (diff)
parent07ed21cfec312813f3dca9ccd30e40431909a091 (diff)
downloaddovecot-antispam-26730e6192cd6fa218a4a900612d6eb8236ebeff.tar.gz
dovecot-antispam-26730e6192cd6fa218a4a900612d6eb8236ebeff.tar.xz
dovecot-antispam-26730e6192cd6fa218a4a900612d6eb8236ebeff.zip
Merge branch 'master' of http://git.sipsolutions.net/dovecot-antispam
Diffstat (limited to 'antispam-plugin.h')
-rw-r--r--antispam-plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/antispam-plugin.h b/antispam-plugin.h
index 468d43e..df59e88 100644
--- a/antispam-plugin.h
+++ b/antispam-plugin.h
@@ -84,7 +84,7 @@ extern bool need_folder_hook;
* Dovecot version compat code
*/
-#if DOVECOT_VERSION_CODE(1, 1) == DOVECOT_VERSION
+#if DOVECOT_VERSION_CODE(1, 1) == DOVECOT_VERSION || DOVECOT_VERSION_CODE(1, 2) == DOVECOT_VERSION
#define __attr_unused__ ATTR_UNUSED
#define ME(err) MAIL_ERROR_ ##err,
#define PLUGIN_ID uint32_t PLUGIN_FUNCTION(id) = 0