From 39de8f56fe51fb8fe82f290d1008eb1381c53290 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 7 Aug 2013 20:31:50 +0000 Subject: perverted zlib with TCHAR file names git-svn-id: http://svn.miranda-ng.org/main/trunk@5618 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Zlib/src/ioapi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Zlib/src/ioapi.h') diff --git a/plugins/Zlib/src/ioapi.h b/plugins/Zlib/src/ioapi.h index 8dcbdb06e3..20cacd9427 100644 --- a/plugins/Zlib/src/ioapi.h +++ b/plugins/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 TCHAR* 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