Revert "fix Mac OSX build (and remove 'weak link' warning)"

This reverts commit 146bbefc03.
This commit is contained in:
Erwin Coumans
2014-02-04 14:44:16 -08:00
parent 146bbefc03
commit 2a87706114
4 changed files with 35 additions and 7 deletions

View File

@@ -854,9 +854,9 @@ extern zipFile ZEXPORT zipOpen3 (const void *pathname, int append, zipcharpc* gl
ziinit.z_filefunc.zseek32_file = NULL;
ziinit.z_filefunc.ztell32_file = NULL;
// if (pzlib_filefunc64_32_def==NULL)
// fill_fopen64_filefunc(&ziinit.z_filefunc.zfile_func64);
// else
if (pzlib_filefunc64_32_def==NULL)
fill_fopen64_filefunc(&ziinit.z_filefunc.zfile_func64);
else
ziinit.z_filefunc = *pzlib_filefunc64_32_def;
ziinit.filestream = ZOPEN64(ziinit.z_filefunc,