mirror of
https://github.com/darlinghq/darling-zlib.git
synced 2024-11-30 07:10:39 +00:00
Use _snprintf for snprintf under Microsoft C in test/minigzip.c.
This commit is contained in:
parent
25e4a3da55
commit
f947435b30
@ -40,6 +40,10 @@
|
||||
# define SET_BINARY_MODE(file)
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#ifdef VMS
|
||||
# define unlink delete
|
||||
# define GZ_SUFFIX "-gz"
|
||||
|
Loading…
Reference in New Issue
Block a user