mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
mz_strm_split.c: snprintf() isn't defined before MSVC 2015.
_snprintf() is available, so use that instead.
This commit is contained in:
parent
e4bd6d3191
commit
12db0fc415
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user