[Zlib-devel] zlib 1.2.6.1

Maarten Bosmans mkbosmans at gmail.com
Mon Feb 13 16:46:25 EST 2012


2012/2/13 Mark Adler <madler at madler.net>:
> Bosmans - Cross compiling from Linux for both win32 and win64 using gcc/mingw

Tested it and found the following two issues (patches attached)

- gzget_ should also be removed from win32/zlib.def

- The function __builtin_bswap32 is not defined in byteswap.h, but is
a GCC intrinsic

byteswap.h does define a bswap_32 function, which could be used in
another #elif branch, but the current patch does not provide for that.

Maarten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zlib-1.2.6.1-byteswap.patch
Type: application/octet-stream
Size: 433 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20120213/2f24e30c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zlib-1.2.6.1-gzgetc_.patch
Type: application/octet-stream
Size: 211 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20120213/2f24e30c/attachment-0001.obj>


More information about the Zlib-devel mailing list