madler / zlib

A massively spiffy yet delicately unobtrusive compression library.
http://zlib.net/
Other
5.71k stars 2.45k forks source link

Fix #999: fix compiling failure in Tornado2.2 with no stdint.h #1001

Closed fredgan closed 2 months ago

fredgan commented 3 months ago

There are only one uintptr_t in minizip, which can be replace by ZPOS64_T in order to fix the compiling failure where has no stdint.h.

madler commented 3 months ago

Does your compiler have a limits.h? Does it have long long?

madler commented 2 months ago

https://github.com/madler/zlib/commit/be24a8f4ca8ae9870c1af4bd5a59375bb36c49fc should fix it.