diff options
author | unknown <iggy@slim.> | 2008-04-07 01:32:59 -0400 |
---|---|---|
committer | unknown <iggy@slim.> | 2008-04-07 01:32:59 -0400 |
commit | 25e57ca9c4d7e5d703906b0272b6554b8ed1679b (patch) | |
tree | 54800ee1222295359d1843ecba1c66951611a796 /zlib | |
parent | ed1d366a23e4320e0dcee29c642c94e6ce491fd3 (diff) | |
download | mariadb-git-25e57ca9c4d7e5d703906b0272b6554b8ed1679b.tar.gz |
Changes for Visual Studio 9
Diffstat (limited to 'zlib')
-rw-r--r-- | zlib/zutil.h | 2 |
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 |