1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Final compile fix.

This commit is contained in:
DjWarmonger 2016-02-02 18:48:20 +01:00
parent afd5b8807d
commit 7cf2d79584
3 changed files with 3 additions and 6 deletions

View File

@ -7,11 +7,8 @@
#include "../minizip/unzip.h"
#endif
#include "../minizip/ioapi.h"
#include <cstdio>
#ifdef VCMI_WINDOWS
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS

View File

@ -234,7 +234,7 @@ void fill_fopen_filefunc (pzlib_filefunc_def)
pzlib_filefunc_def->opaque = NULL;
}
void fill_fopen64_filefunc (zlib_filefunc64_def* pzlib_filefunc_def)
void fill_fopen64_filefunc(zlib_filefunc64_def* pzlib_filefunc_def)
{
pzlib_filefunc_def->zopen64_file = fopen64_file_func;
pzlib_filefunc_def->zread_file = fread_file_func;

View File

@ -198,8 +198,8 @@ typedef struct zlib_filefunc64_def_s
voidpf opaque;
} zlib_filefunc64_def;
void fill_fopen64_filefunc OF((zlib_filefunc64_def* pzlib_filefunc_def));
void fill_fopen_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
ZEXPORT void fill_fopen64_filefunc OF((zlib_filefunc64_def* pzlib_filefunc_def));
ZEXPORT void fill_fopen_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
/* now internal definition, only for zip.c and unzip.h */
typedef struct zlib_filefunc64_32_def_s