diff options
author | William Joye <joye@Williams-Mac.local> | 2019-05-13 20:04:22 (GMT) |
---|---|---|
committer | William Joye <joye@Williams-Mac.local> | 2019-05-13 20:04:22 (GMT) |
commit | 4237f4370f6c065bff99581a266404640800643f (patch) | |
tree | 330722a6be67d30567d29c2afaee859c5080f218 | |
parent | cc1f5f43522f348188e0a44427d183201140bf05 (diff) | |
download | blt-4237f4370f6c065bff99581a266404640800643f.zip blt-4237f4370f6c065bff99581a266404640800643f.tar.gz blt-4237f4370f6c065bff99581a266404640800643f.tar.bz2 |
fix z_crc_t issue
-rw-r--r-- | tclzipfs/tclZipfs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tclzipfs/tclZipfs.c b/tclzipfs/tclZipfs.c index 67cd43e..6a28c3d 100644 --- a/tclzipfs/tclZipfs.c +++ b/tclzipfs/tclZipfs.c @@ -33,7 +33,12 @@ #define MAP_FILE 0 #endif /* !MAP_FILE */ -typedef unsigned long z_crc_t; +#ifdef Z_U4 + typedef Z_U4 z_crc_t; +#else + typedef unsigned long z_crc_t; +#endif + #ifdef HAVE_ZLIB #include "zlib.h" #include "crypt.h" |