summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'auto/lib/zlib')
-rw-r--r--auto/lib/zlib/make6
-rw-r--r--auto/lib/zlib/patch.zlib.h10
2 files changed, 13 insertions, 3 deletions
diff --git a/auto/lib/zlib/make b/auto/lib/zlib/make
index 1859a34b8..715d2cf96 100644
--- a/auto/lib/zlib/make
+++ b/auto/lib/zlib/make
@@ -6,18 +6,18 @@ case "$NGX_CC_NAME" in
msvc*)
ngx_makefile=makefile.msvc
- ngx_opt="CPU_OPT=$CPU_OPT LIBC=$LIBC"
+ ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC"
;;
owc*)
ngx_makefile=makefile.owc
- ngx_opt="CPU_OPT=$CPU_OPT"
+ ngx_opt="CPU_OPT=\"$CPU_OPT\""
;;
bcc)
ngx_makefile=makefile.bcc
- ngx_opt="-DCPU_OPT=$CPU_OPT"
+ ngx_opt="-DCPU_OPT=\"$CPU_OPT\""
;;
esac
diff --git a/auto/lib/zlib/patch.zlib.h b/auto/lib/zlib/patch.zlib.h
new file mode 100644
index 000000000..122f7fa86
--- /dev/null
+++ b/auto/lib/zlib/patch.zlib.h
@@ -0,0 +1,10 @@
+--- 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