gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
62 stars 50 forks source link

win64 - aligned4 for LLP64 model #29

Closed gdraheim closed 6 years ago

gdraheim commented 6 years ago

On WIN64 sizeof(long) < sizeof(*ptr), so the aligned4 code needs to be rechecked.

A patch exists at TexLive =>

https://www.tug.org/svn/texlive/trunk/Build/source/libs/zziplib/TLpatches/patch-03-w64-ptr

gdraheim commented 6 years ago

This one may be better done with an intermediate integer of the kind of stdint's intptr_t (wrapped as a zzip_intptr_t)

gdraheim commented 6 years ago

Actually <zzip/stdint.h> is included in <zzip/lib.h> so that the code should work right away.

gdraheim commented 6 years ago

done.