diff --git a/imap/cyr_virusscan.c b/imap/cyr_virusscan.c index 8f57885..26a2773 100644 --- a/imap/cyr_virusscan.c +++ b/imap/cyr_virusscan.c @@ -193,7 +193,7 @@ int clamav_scanfile(void *state, const char *fname, int r; /* scan file */ -#if LIBCLAMAV_MAJORVER < 9 +#ifdef CL_SCAN_ARCHIVE r = cl_scanfile(fname, virname, NULL, st->av_engine, CL_SCAN_STDOPT); #else