Mercurial > hg > nginx
view auto/lib/zlib/patch.zlib.h @ 4302:52c881519427
o AIX 7 defines sys_nerr in errno.h, therefore <errno.h> included
in the sys_nerr test.
o When sys_nerr and _sys_nerr are missed on a particular platform
and our euristic for a maximum errno detection applied always
print the maximum errno number we reached instead of printing void.[*]
* patch from Maxim Dounin
This commit makes possible to build nginx on AIX 7.1.
author | Maxim Konovalov <maxim@nginx.com> |
---|---|
date | Mon, 21 Nov 2011 11:51:41 +0000 |
parents | b1648294f693 |
children |
line wrap: on
line source
--- zlib.h Thu Jul 9 20:06:56 1998 +++ zlib-1.1.3/zlib.h Tue Mar 22 13:41:04 2005 @@ -709,7 +709,6 @@ (0 in case of error). */ -ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...)); /* Converts, formats, and writes the args to the compressed file under control of the format string, as in fprintf. gzprintf returns the number of