mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 19:50:12 +01:00
23 lines
578 B
Diff
23 lines
578 B
Diff
|
--- zlib-1.2.5/zutil.h 2010-04-18 12:29:24 -0700
|
||
|
+++ zlib/zutil.h 2010-08-21 18:07:03 -0700
|
||
|
@@ -172,17 +172,18 @@
|
||
|
#endif
|
||
|
|
||
|
#ifndef F_OPEN
|
||
|
# define F_OPEN(name, mode) fopen((name), (mode))
|
||
|
#endif
|
||
|
|
||
|
/* functions */
|
||
|
|
||
|
-#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
|
||
|
+#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550) || \
|
||
|
+ (defined(_MSC_VER) && _MSC_VER >= 1500)
|
||
|
# ifndef HAVE_VSNPRINTF
|
||
|
# define HAVE_VSNPRINTF
|
||
|
# endif
|
||
|
#endif
|
||
|
#if defined(__CYGWIN__)
|
||
|
# ifndef HAVE_VSNPRINTF
|
||
|
# define HAVE_VSNPRINTF
|
||
|
# endif
|