michael@0: --- zlib-1.2.5/zutil.h 2010-04-18 12:29:24 -0700 michael@0: +++ zlib/zutil.h 2010-08-21 18:07:03 -0700 michael@0: @@ -172,17 +172,18 @@ michael@0: #endif michael@0: michael@0: #ifndef F_OPEN michael@0: # define F_OPEN(name, mode) fopen((name), (mode)) michael@0: #endif michael@0: michael@0: /* functions */ michael@0: michael@0: -#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550) michael@0: +#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550) || \ michael@0: + (defined(_MSC_VER) && _MSC_VER >= 1500) michael@0: # ifndef HAVE_VSNPRINTF michael@0: # define HAVE_VSNPRINTF michael@0: # endif michael@0: #endif michael@0: #if defined(__CYGWIN__) michael@0: # ifndef HAVE_VSNPRINTF michael@0: # define HAVE_VSNPRINTF michael@0: # endif