From 1a7dc2ed567b99a7193e526ad80d50d1e01c59cd Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 25 Feb 2013 13:20:54 +0000 Subject: zlib now linked dinamicaly git-svn-id: http://svn.miranda-ng.org/main/trunk@3766 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FTPFileYM/src/zip/ioapi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/FTPFileYM/src/zip/ioapi.h') diff --git a/plugins/FTPFileYM/src/zip/ioapi.h b/plugins/FTPFileYM/src/zip/ioapi.h index 8309c4cf8f..3fc4d0324b 100644 --- a/plugins/FTPFileYM/src/zip/ioapi.h +++ b/plugins/FTPFileYM/src/zip/ioapi.h @@ -40,6 +40,7 @@ #endif #endif +#include #include #include #include "zlib.h" @@ -56,7 +57,7 @@ #define fseeko64 _fseeki64 #else // old MSC #define ftello64 ftell - #define fseeko64 fseek + #define fseeko64(a, b, c) fseek(a, (long)b, c) #endif #endif #endif @@ -124,7 +125,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