diff options
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)); |