Use snprintf() for later versions of Microsoft C.

This commit is contained in:
Mark Adler
2016-12-30 17:13:31 -08:00
parent ee7d7b5dda
commit 79b5c5acf0
2 changed files with 4 additions and 5 deletions

View File

@@ -40,7 +40,7 @@
# define SET_BINARY_MODE(file)
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
# define snprintf _snprintf
#endif