diff options
author | David Hows <howsdav@gmail.com> | 2016-05-06 17:01:50 +1000 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-05-06 17:01:50 +1000 |
commit | 7153550cce30d15b18aad18765b0a40d9765cbcf (patch) | |
tree | 51ecd13d8e0f2d548c570ced7357757a3e3646b0 | |
parent | b1cebb044a227b3b6dd30f32bf9e7a6cc4595c51 (diff) | |
download | mongo-7153550cce30d15b18aad18765b0a40d9765cbcf.tar.gz |
WT-2626 Fix MSVC 2015 snprintf redefinition (#2726)
-rw-r--r-- | examples/c/ex_file_system.c | 2 |
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 |