miniunz.c: Guard Z_BZIP2ED with #ifdef HAVE_BZIP2

This commit is contained in:
Nebuleon 2014-01-29 08:55:41 +00:00
parent 1a27e1128c
commit 471d496cbe
1 changed files with 2 additions and 0 deletions

View File

@ -215,11 +215,13 @@ int do_list(uf)
else if ((iLevel==2) || (iLevel==3))
string_method="Defl:F"; /* 2:fast , 3 : extra fast*/
}
#ifdef HAVE_BZIP2
else
if (file_info.compression_method==Z_BZIP2ED)
{
string_method="BZip2 ";
}
#endif
else
string_method="Unkn. ";