summaryrefslogtreecommitdiff
path: root/plugins/Zlib/src/ioapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Zlib/src/ioapi.h')
-rw-r--r--plugins/Zlib/src/ioapi.h3
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));