[Zlib-devel] zlib 1.2.3.5 available for testing

Mark Adler madler at alumni.caltech.edu
Sat Jan 9 06:14:41 EST 2010


On Jan 8, 2010, at 3:10 AM, Gilles Vollant wrote:
> to support 64 bits file access with recent Microsoft C++ we made
> 
> #ifdef _MSC_VER
> #define fopen64 fopen
> #if _MSC_VER >= 1400
>  #define ftello64 _ftelli64
>  #define fseeko64 _fseeki64
> #else // old MSC
>  #define ftello64 ftell
>  #define fseeko64 fseek
> #endif
> #endif

Gilles,

However the new gz* functions don't use fopen, fseek, or ftell.  They use open and lseek.  What should I do for those?

By the way for everyone, the new gz* functions are in gzclose.c, gzguts.h, gzlib.c, gzread.c, and gzwrite.c.   gzio.c is still there temporarily for testing purposes, and only compiles if OLD_GZIO is defined.

Mark





More information about the Zlib-devel mailing list