[Zlib-devel] #ifdef out strerror prototype for VMS

Glenn Randers-Pehrson glennrp at comcast.net
Fri Jun 25 18:32:46 EDT 2004


At 05:43 PM 6/25/2004 -0400, Cosmin Truta wrote:
>I also noticed that someone mentioned in the Mozilla bug #248616, the
>extra size of the compiled 1.2.1 binary, compared to 1.1.4. Here is a
>tip: if you don't use zlib to handle gzip headers (which I presume it's
>true if 1.1.4 works for you as well as 1.2.1), you may #define NO_GZIP
>and NO_GZCOMPRESS when making your custom zlib build.

Thanks.

On my platform (FreeBSD 5.0, gcc-3.2.1), adding these two definitions
saved about 3200 bytes in "size libmozz.so", and mozilla was still able
to process PNG images.  The total code size increase we observed from 1.1.4
to 1.2.1 was about 11 kbytes.

Glenn





More information about the Zlib-devel mailing list