Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
#include <QtCore/qfile.h>
#include <QtCore/qstring.h>
-// to ensure that when building with miniz the FileInfo struct
-// gets proper typedefs for crc32
+// to ensure that the FileInfo struct gets proper typedefs for crc32
#include <zlib.h>
QT_BEGIN_NAMESPACE
if (zlibResult == Z_STREAM_END) {
// Make sure there are no more members to process before exiting
-#ifdef MINIZ_HEADER_INCLUDED
- // miniz does not support inflateReset()
- if (!(zlibStream.avail_in && inflateEnd(&zlibStream) == Z_OK
- && inflateInit2(&zlibStream, MAX_WBITS + 16) == Z_OK))
-#else
if (!(zlibStream.avail_in && inflateReset(&zlibStream) == Z_OK))
-#endif
stillMoreWorkToDo = false;
}
}