summaryrefslogtreecommitdiff
path: root/cat
diff options
context:
space:
mode:
authorHans Hinrichsen <hinrichsen.hans@gmail.com>2016-01-06 08:58:53 -0600
committerHans Hinrichsen <hinrichsen.hans@gmail.com>2016-01-13 22:26:34 -0600
commit36b7014b2055b303b34e6a753f96da988406c2de (patch)
treeab1732f95aa6d12dd09e2b306beda7b710558172 /cat
parentd32bbe4f32a8fd00ec3b637cfbed2bdbbcfd05c5 (diff)
downloadlibarchive-36b7014b2055b303b34e6a753f96da988406c2de.tar.gz
Visual Studio 2015 Changes
snprintf shouldn't be defined in a macro in VS2015 and above due to its C99 changes
Diffstat (limited to 'cat')
-rw-r--r--cat/test/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cat/test/test.h b/cat/test/test.h
index 68473851..89b59310 100644
--- a/cat/test/test.h
+++ b/cat/test/test.h
@@ -92,7 +92,7 @@
#endif
/* Visual Studio */
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf sprintf_s
#endif