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

@@ -605,9 +605,9 @@ local unzFile unzOpenInternal (const void *path,
us.z_filefunc.zseek32_file = NULL;
us.z_filefunc.ztell32_file = NULL;
// if (pzlib_filefunc64_32_def==NULL)
// fill_fopen64_filefunc(&us.z_filefunc.zfile_func64);
//else
if (pzlib_filefunc64_32_def==NULL)
fill_fopen64_filefunc(&us.z_filefunc.zfile_func64);
else
us.z_filefunc = *pzlib_filefunc64_32_def;
us.is64bitOpenFunction = is64bitOpenFunction;