diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-25 13:20:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-25 13:20:54 +0000 |
commit | 1a7dc2ed567b99a7193e526ad80d50d1e01c59cd (patch) | |
tree | 15ebf48d2b61b2dff79e8021109e71b46041f109 /plugins/FTPFileYM/src/zip/ioapi.h | |
parent | 6c123a632af944aca0f7df7d46421cb1751ac4c5 (diff) |
zlib now linked dinamicaly
git-svn-id: http://svn.miranda-ng.org/main/trunk@3766 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM/src/zip/ioapi.h')
-rw-r--r-- | plugins/FTPFileYM/src/zip/ioapi.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <tchar.h> #include <stdio.h> #include <stdlib.h> #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)); |