summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-14 07:41:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-14 07:41:17 (GMT)
commite81352f3afab4a9fe037c8788ffaa95ba09ddd85 (patch)
treecced63c48cf09485fc6233e6ccd7348f92d6c9b7 /compat
parentf0ad6fbbfaa32dc315d4df667b0d8fe2013789d5 (diff)
parentd553228a8edcfd20923673684c49aa1f2877e136 (diff)
downloadtcl-e81352f3afab4a9fe037c8788ffaa95ba09ddd85.zip
tcl-e81352f3afab4a9fe037c8788ffaa95ba09ddd85.tar.gz
tcl-e81352f3afab4a9fe037c8788ffaa95ba09ddd85.tar.bz2
Merge 8.7
Diffstat (limited to 'compat')
-rw-r--r--compat/zlib/contrib/minizip/crypt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/compat/zlib/contrib/minizip/crypt.h b/compat/zlib/contrib/minizip/crypt.h
index 1e9e820..c422c26 100644
--- a/compat/zlib/contrib/minizip/crypt.h
+++ b/compat/zlib/contrib/minizip/crypt.h
@@ -29,6 +29,12 @@
#define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))
+#ifdef Z_U4
+ typedef Z_U4 z_crc_t;
+#else
+ typedef unsigned long z_crc_t;
+#endif
+
/***********************************************************************
* Return the next byte in the pseudo-random sequence
*/