diff options
author | Jonas Maurus <jonas@maurus.net> | 2009-04-29 13:13:53 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2009-04-29 13:13:53 +0200 |
commit | 443004a02c6707e660a82ab85f3161b692b05fe0 (patch) | |
tree | 45e8ac07958978a25b5e5ef53f3f0b1f8410840d /antispam-plugin.h | |
parent | 6538e2b6b0007a281be3498bc16b89aaa14337ef (diff) | |
download | dovecot-antispam-443004a02c6707e660a82ab85f3161b692b05fe0.tar.gz dovecot-antispam-443004a02c6707e660a82ab85f3161b692b05fe0.tar.xz dovecot-antispam-443004a02c6707e660a82ab85f3161b692b05fe0.zip |
add dovecot 1.2 support
Diffstat (limited to '')
-rw-r--r-- | antispam-plugin.h | 2 |
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 |