diff options
Diffstat (limited to 'antispam-plugin.h')
-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 |