[master] ba64981 You are in a creepy maze of #ifdefs, all confusting.

Poul-Henning Kamp phk at varnish-cache.org
Tue Jan 25 11:15:51 CET 2011


commit ba64981d54f824705ff4cb546762424d29d97452
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jan 25 10:11:05 2011 +0000

    You are in a creepy maze of #ifdefs, all confusting.

diff --git a/lib/libvgz/vgz.h b/lib/libvgz/vgz.h
index 3f6e8cb..1b8da5e 100644
--- a/lib/libvgz/vgz.h
+++ b/lib/libvgz/vgz.h
@@ -1575,7 +1575,7 @@ ZEXTERN int ZEXPORT inflateBackInit_ OF((z_streamp strm, int windowBits,
    ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
 #endif
 
-#if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
+#if defined(NOTDEF) && !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