minizip: Reapply Godot-specific changes for seek support
I have not assessed whether they are still all relevant.
This commit is contained in:
parent
5681b7b60a
commit
53fffa12f1
7 changed files with 454 additions and 15 deletions
10
thirdparty/minizip/ioapi.c
vendored
10
thirdparty/minizip/ioapi.c
vendored
|
|
@ -68,8 +68,15 @@ void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_filef
|
|||
p_filefunc64_32->zfile_func64.opaque = p_filefunc32->opaque;
|
||||
p_filefunc64_32->zseek32_file = p_filefunc32->zseek_file;
|
||||
p_filefunc64_32->ztell32_file = p_filefunc32->ztell_file;
|
||||
/* GODOT start */
|
||||
p_filefunc64_32->zfile_func64.alloc_mem = p_filefunc32->alloc_mem;
|
||||
p_filefunc64_32->zfile_func64.free_mem = p_filefunc32->free_mem;
|
||||
/* GODOT end */
|
||||
}
|
||||
|
||||
/* GODOT start */
|
||||
/*
|
||||
// GODOT end
|
||||
|
||||
|
||||
static voidpf ZCALLBACK fopen_file_func OF((voidpf opaque, const char* filename, int mode));
|
||||
|
|
@ -233,3 +240,6 @@ void fill_fopen64_filefunc (zlib_filefunc64_def* pzlib_filefunc_def)
|
|||
pzlib_filefunc_def->zerror_file = ferror_file_func;
|
||||
pzlib_filefunc_def->opaque = NULL;
|
||||
}
|
||||
// GODOT start
|
||||
*/
|
||||
/* GODOT end */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue