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

This commit is contained in:
Erwin Coumans
2014-02-04 14:05:21 -08:00
parent 94db38358c
commit 146bbefc03
4 changed files with 7 additions and 35 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;