diff options
author | George Hazan <ghazan@miranda.im> | 2017-05-14 20:34:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-05-14 20:34:59 +0300 |
commit | fdeeb9226bef15ce8cb188b9ceeb3f2a6f063b6c (patch) | |
tree | 9983e7ebef34abc90e8e333bd32c3c53528a7864 /libs/zlib/src/ioapi.h | |
parent | cec4228b656b44a8cdde869c3031e6e62480688d (diff) |
Revert "zlib: updated to version 1.2.11"
This reverts commit cd6513f3037456f6c7c3a8d051be51d62cb9bd88.
Diffstat (limited to 'libs/zlib/src/ioapi.h')
-rw-r--r-- | libs/zlib/src/ioapi.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <tchar.h> #include <stdio.h> #include <stdlib.h> #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)); |