[Zlib-devel] zlib 1.2.6.1: build breaks on MinGW because of __builtin_bswap32

Mark Adler madler at madler.net
Sat Mar 3 12:06:41 EST 2012


Cosmin,

Thanks.  I have simply removed the optimized byte swap stuff, since there is no reason for it to be optimized.  Any byte swapping is a microscopic portion of the execution time.

I have changed the #define to use the hidden attribute to be positive instead of negative, and I have removed the gcc version checks.  Now it just relies on configure to test whether it's there or not.  By default, it is assumed to not be there.

Mark





More information about the Zlib-devel mailing list