mz_strm_split.c: snprintf() isn't defined before MSVC 2015.

_snprintf() is available, so use that instead.
This commit is contained in:
David Korth 2017-11-26 13:43:38 -05:00
parent e4bd6d3191
commit 12db0fc415

View File

@ -23,6 +23,10 @@
#define MZ_ZIP_MAGIC_DISKHEADER (0x08074b50)
#if defined(_MSC_VER) && _MSC_VER < 1900
# define snprintf _snprintf
#endif
/***************************************************************************/
mz_stream_vtbl mz_stream_split_vtbl = {