Kaydet (Commit) 047e32a6 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Define HAVE_VSNPRINTF for MSVC

üst 824203a3
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment