r5683 - trunk/varnish-cache/lib/libvgz
phk at varnish-cache.org
phk at varnish-cache.org
Tue Jan 4 16:44:40 CET 2011
Author: phk
Date: 2011-01-04 16:44:40 +0100 (Tue, 04 Jan 2011)
New Revision: 5683
Modified:
trunk/varnish-cache/lib/libvgz/zlib.h
Log:
Try to work around Linux FILE_OFFSET_64 brain damage.
Modified: trunk/varnish-cache/lib/libvgz/zlib.h
===================================================================
--- trunk/varnish-cache/lib/libvgz/zlib.h 2011-01-04 14:56:04 UTC (rev 5682)
+++ trunk/varnish-cache/lib/libvgz/zlib.h 2011-01-04 15:44:40 UTC (rev 5683)
@@ -1569,9 +1569,7 @@
ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
-#endif
-
-#if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
+#elif !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
# define gzopen gzopen64
# define gzseek gzseek64
# define gztell gztell64
More information about the varnish-commit
mailing list