summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hows <howsdav@gmail.com>2016-05-06 17:01:50 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-05-06 17:01:50 +1000
commit7153550cce30d15b18aad18765b0a40d9765cbcf (patch)
tree51ecd13d8e0f2d548c570ced7357757a3e3646b0
parentb1cebb044a227b3b6dd30f32bf9e7a6cc4595c51 (diff)
downloadmongo-7153550cce30d15b18aad18765b0a40d9765cbcf.tar.gz
WT-2626 Fix MSVC 2015 snprintf redefinition (#2726)
-rw-r--r--examples/c/ex_file_system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c/ex_file_system.c b/examples/c/ex_file_system.c
index c65019159fe..6522a386b9a 100644
--- a/examples/c/ex_file_system.c
+++ b/examples/c/ex_file_system.c
@@ -31,7 +31,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#ifdef _WIN32
+#if (defined(_WIN32) && _MSC_VER < 1900)
/* snprintf is not supported on <= VS2013 */
#define snprintf _snprintf
#endif