summaryrefslogtreecommitdiff
path: root/zlib/zlib-1.2.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/zlib-1.2.3.patch')
-rw-r--r--zlib/zlib-1.2.3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/zlib/zlib-1.2.3.patch b/zlib/zlib-1.2.3.patch
index 5e2b69535e5e..4bfad287c231 100644
--- a/zlib/zlib-1.2.3.patch
+++ b/zlib/zlib-1.2.3.patch
@@ -90,3 +90,14 @@
#ifdef Z_PREFIX
# define deflateInit_ z_deflateInit_
# define deflate z_deflate
+--- misc/zlib-1.2.3/zutil.h
++++ misc/build/zlib-1.2.3/zutil.h
+@@ -175,7 +175,7 @@
+
+ /* functions */
+
+-#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
++#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550) || defined(_MSC_VER)
+ # ifndef HAVE_VSNPRINTF
+ # define HAVE_VSNPRINTF
+ # endif