Closed abrasat closed 1 year ago
Yes, it works on x64 systems. It's mainly related to size_t
and off_t
https://github.com/kuba--/zip/blob/master/src/zip.h#L37C1-L37C1
Ok, thanks. You mean it should not be a problem to zip a file on Windows and then unzip it on Linux 64-bit?
I believe so.
Can the zip library be used also on 64-bit Linux applications? On 64-bit Linux systems the "unsigned long" datatype has 8-bytes (but on 64-bit Windows only 4-bytes !) (see here ) From miniz.h:
Maybe "unsigned long" should be replaced with "uint32_t" (defined in stdint.h)