1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

- Compile fixes part 1

- Project settings for MSVS
This commit is contained in:
DjWarmonger
2016-01-27 21:08:08 +01:00
parent d7c0c3759a
commit 327e95407e
9 changed files with 18 additions and 8 deletions

View File

@ -1,5 +1,6 @@
#include "StdInc.h"
#include "FileStream.h"
#include "../minizip/ioapi.h"
#ifdef USE_SYSTEM_MINIZIP
#include <minizip/unzip.h>
@ -56,8 +57,9 @@ zlib_filefunc64_def* FileStream::GetMinizipFilefunc()
{
static zlib_filefunc64_def MinizipFilefunc;
static bool initialized = false;
if (!initialized) {
fill_fopen64_filefunc((&MinizipFilefunc));
if (!initialized)
{
fill_fopen64_filefunc(&MinizipFilefunc);
MinizipFilefunc.zopen64_file = &MinizipOpenFunc;
initialized = true;
}