diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-07 20:31:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-07 20:31:50 +0000 |
commit | 39de8f56fe51fb8fe82f290d1008eb1381c53290 (patch) | |
tree | 337d658a44390c16d102c4e54ecc4ca3c19cc1c5 /plugins/Zlib/src/ioapi.h | |
parent | f2b61a664ae3660ad503eee73ef82ee562a5a5db (diff) |
perverted zlib with TCHAR file names
git-svn-id: http://svn.miranda-ng.org/main/trunk@5618 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Zlib/src/ioapi.h')
-rw-r--r-- | plugins/Zlib/src/ioapi.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <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 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)); |