summaryrefslogtreecommitdiff
path: root/src/minizip/ioapi.h.diff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-24 08:37:21 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-24 08:37:21 +0000
commit033ce293b8f80652bdfbdfa07196389393e35866 (patch)
tree7a461fedb6afeb7f76ef09e7f1c2aed8fadda0d6 /src/minizip/ioapi.h.diff
parentd1913325e49894c60348daf7bfbd6ec54e8b2e87 (diff)
Fixed minizip.
Diffstat (limited to 'src/minizip/ioapi.h.diff')
-rw-r--r--src/minizip/ioapi.h.diff14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/minizip/ioapi.h.diff b/src/minizip/ioapi.h.diff
index d652d6c..65558f6 100644
--- a/src/minizip/ioapi.h.diff
+++ b/src/minizip/ioapi.h.diff
@@ -1,5 +1,5 @@
--- ioapi.h.orig 2012-01-17 03:51:31.000000000 +0100
-+++ ioapi.h 2014-05-24 10:16:20.801709594 +0200
++++ ioapi.h 2014-05-24 10:28:47.731394304 +0200
@@ -135,6 +135,7 @@
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode));
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
@@ -16,11 +16,19 @@
tell_file_func ztell_file;
seek_file_func zseek_file;
close_file_func zclose_file;
-@@ -186,6 +188,7 @@
+@@ -164,6 +166,7 @@
+ open64_file_func zopen64_file;
+ read_file_func zread_file;
+ write_file_func zwrite_file;
++ flush_file_func zflush_file;
+ tell64_file_func ztell64_file;
+ seek64_file_func zseek64_file;
+ close_file_func zclose_file;
+@@ -186,6 +189,7 @@
#define ZREAD64(filefunc,filestream,buf,size) ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size))
#define ZWRITE64(filefunc,filestream,buf,size) ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size))
-+#define ZFLUSH(filefunc,filestream) ((*((filefunc).zflush_file)) ((filefunc).opaque,filestream))
++#define ZFLUSH64(filefunc,filestream) ((*((filefunc).zfile_func64.zflush_file)) ((filefunc).zfile_func64.opaque,filestream))
//#define ZTELL64(filefunc,filestream) ((*((filefunc).ztell64_file)) ((filefunc).opaque,filestream))
//#define ZSEEK64(filefunc,filestream,pos,mode) ((*((filefunc).zseek64_file)) ((filefunc).opaque,filestream,pos,mode))
#define ZCLOSE64(filefunc,filestream) ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream))