]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
snprintf() was added to Visual Studio 2015.
authorMika Lindqvist <postmaster@raasu.org>
Fri, 29 May 2015 23:13:47 +0000 (02:13 +0300)
committerMika Lindqvist <postmaster@raasu.org>
Fri, 29 May 2015 23:13:47 +0000 (02:13 +0300)
test/minigzip.c

index 0a0bea5294326dc9e2b6fa34a0fb79a2e722d026..e0016c2f15b03783bbdcce96d40fdccc582df55e 100644 (file)
@@ -34,7 +34,7 @@
 #  define SET_BINARY_MODE(file)
 #endif
 
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 1900
 #  define snprintf _snprintf
 #endif