mirror of https://github.com/mgba-emu/mgba.git
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:
parent
5ca36e9418
commit
9b9de7f2db
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue