Add HAVE_ZLIB ifdef to content.c
This commit is contained in:
parent
c4b80e0e44
commit
eb62d5f4a4
|
@ -1745,8 +1745,10 @@ bool content_ctl(enum content_ctl_state state, void *data)
|
||||||
temporary_content = NULL;
|
temporary_content = NULL;
|
||||||
break;
|
break;
|
||||||
case CONTENT_CTL_STREAM_INIT:
|
case CONTENT_CTL_STREAM_INIT:
|
||||||
|
#ifdef HAVE_ZLIB
|
||||||
if (!stream_backend)
|
if (!stream_backend)
|
||||||
stream_backend = file_archive_get_default_file_backend();
|
stream_backend = file_archive_get_default_file_backend();
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case CONTENT_CTL_STREAM_CRC_CALCULATE:
|
case CONTENT_CTL_STREAM_CRC_CALCULATE:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue