Add HAVE_ZLIB ifdef to content.c

This commit is contained in:
twinaphex 2016-02-23 22:05:32 +01:00
parent c4b80e0e44
commit eb62d5f4a4
1 changed files with 2 additions and 0 deletions

View File

@ -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:
{ {