summaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
authorJoerg Bruehe <joerg@mysql.com>2008-10-04 17:38:24 +0200
committerJoerg Bruehe <joerg@mysql.com>2008-10-04 17:38:24 +0200
commitdb9bcd8b2e9d71f9eb463213373a749e73945707 (patch)
tree243b4ac5191e1770ef747bfe8b01b0390f16ab56 /zlib
parentc12f3512152cb6204546642ea88073d7386fa023 (diff)
parent68674082ffa1beb43680f846777f407f0f28d08b (diff)
downloadmariadb-git-db9bcd8b2e9d71f9eb463213373a749e73945707.tar.gz
Merge main 5.0 branch -> 5.0-build (team tree).
Diffstat (limited to 'zlib')
-rw-r--r--zlib/zutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zlib/zutil.h b/zlib/zutil.h
index b7d5eff81b6..4482957d6ac 100644
--- a/zlib/zutil.h
+++ b/zlib/zutil.h
@@ -194,7 +194,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
# ifdef __TURBOC__
# define NO_vsnprintf
# endif
-# ifdef WIN32
+# if defined(WIN32) && (!defined(_MSC_VER) || _MSC_VER < 1500)
/* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */
# if !defined(vsnprintf) && !defined(NO_vsnprintf)
# define vsnprintf _vsnprintf