Don't include internal zip library when USE_MINIZIP is defined.

According to CmakeLists.txt file USE_MINIZIP enables linking against system
minizip library but the code in src/util/vfs/vfs-zip.c doesn't reflect
that.
This commit is contained in:
Lars Wendler 2016-07-12 15:46:58 +02:00
parent 5ca36e9418
commit 9b9de7f2db
No known key found for this signature in database
GPG Key ID: 571DD2D0343C6039
1 changed files with 4 additions and 0 deletions

View File

@ -34,7 +34,11 @@ enum {
BLOCK_SIZE = 1024
};
#else
#ifdef USE_MINIZIP
#include <minizip/unzip.h>
#else
#include "third-party/zlib/contrib/minizip/unzip.h"
#endif
#include "util/memory.h"
struct VDirEntryZip {