Index: third_party/zlib/zlib.h |
=================================================================== |
--- third_party/zlib/zlib.h (revision 153495) |
+++ third_party/zlib/zlib.h (working copy) |
@@ -101,6 +101,7 @@ |
int data_type; /* best guess about the data type: binary or text */ |
uLong adler; /* adler32 value of the uncompressed data */ |
uLong reserved; /* reserved for future use */ |
+ int clas; |
} z_stream; |
typedef z_stream FAR *z_streamp; |
@@ -207,6 +208,10 @@ |
#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ |
+#define Z_CLASS_STANDARD 0 |
+#define Z_CLASS_COOKIE 1 |
+#define Z_CLASS_HUFFMAN_ONLY 2 |
+ |
#define zlib_version zlibVersion() |
/* for compatibility with versions < 1.0.2 */ |
@@ -1587,6 +1592,13 @@ |
ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile)); |
ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t)); |
ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t)); |
+# else |
+ ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *)); |
+ ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile, z_off_t, int)); |
+ ZEXTERN z_off_t ZEXPORT gztell OF((gzFile)); |
+ ZEXTERN z_off_t ZEXPORT gzoffset OF((gzFile)); |
+ ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t)); |
+ ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t)); |
# endif |
#else |
ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *)); |