From https://github.com/assimp/assimp/issues/4334#issue-1097591121 From: Brecht Sanders (@brechtsanders) Date: Fri, 11 Mar 2022 10:01:15 +0100 Subject: [PATCH] fix usage of incompatible minizip data structure Suggested-by: Brecht Sanders (@brechtsanders) Bug: https://github.com/assimp/assimp/issues/4334 Signed-off-by: Bernd Waibel --- a/code/Common/ZipArchiveIOSystem.cpp +++ b/code/Common/ZipArchiveIOSystem.cpp @@ -196,7 +196,9 @@ zlib_filefunc_def IOSystem2Unzip::get(IOSystem *pIOHandler) { zlib_filefunc_def mapping; mapping.zopen_file = (open_file_func)open; +#ifdef ZOPENDISK64 mapping.zopendisk_file = (opendisk_file_func)opendisk; +#endif mapping.zread_file = (read_file_func)read; mapping.zwrite_file = (write_file_func)write; mapping.ztell_file = (tell_file_func)tell; -- 2.35.1