[Zlib-devel] Check for <errno.h>

Mark Adler madler at alumni.caltech.edu
Sun Mar 28 15:02:46 EDT 2010


On Mar 28, 2010, at 7:33 AM, Enrico Weigelt wrote:
> http://bugs.gentoo.org/show_bug.cgi?id=55434

That patch is too violent.  It could have many unintended consequences on other platforms.  The patch demands that all compilers return a non-zero exit code on a compilation error.

> (aka: are there platforms which dont have it ?)

Yes, as I recall there were platforms with no errno.h.  However the new gz code doesn't need the errno.h check, so I will remove it.

Mark





More information about the Zlib-devel mailing list