From fdeeb9226bef15ce8cb188b9ceeb3f2a6f063b6c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 14 May 2017 20:34:59 +0300 Subject: Revert "zlib: updated to version 1.2.11" This reverts commit cd6513f3037456f6c7c3a8d051be51d62cb9bd88. --- libs/zlib/src/ioapi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/zlib/src/ioapi.h') diff --git a/libs/zlib/src/ioapi.h b/libs/zlib/src/ioapi.h index 8dcbdb06e3..7dda60e52a 100644 --- a/libs/zlib/src/ioapi.h +++ b/libs/zlib/src/ioapi.h @@ -41,6 +41,7 @@ #endif +#include #include #include #include "zlib.h" @@ -132,7 +133,7 @@ extern "C" { -typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode)); +typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const wchar_t* filename, int mode)); typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); -- cgit v1.2.3