diff options
author | Eric Milkie <milkie@10gen.com> | 2015-03-06 11:16:03 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2015-03-06 11:16:11 -0500 |
commit | c075fc27fcbc2ed17f8077b19a368c7c5cf0bfbc (patch) | |
tree | 7de2a606de29d786886c1354faf51e01686d4894 /src/mongo/bson/util/builder.h | |
parent | a1ffa364553d6da05596e0bbea9d530b67e6a5cd (diff) | |
download | mongo-c075fc27fcbc2ed17f8077b19a368c7c5cf0bfbc.tar.gz |
SERVER-17428 continuation of snprintf fix for VS2015
Diffstat (limited to 'src/mongo/bson/util/builder.h')
-rw-r--r-- | src/mongo/bson/util/builder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/bson/util/builder.h b/src/mongo/bson/util/builder.h index 584b562a609..01a3c0263aa 100644 --- a/src/mongo/bson/util/builder.h +++ b/src/mongo/bson/util/builder.h @@ -415,7 +415,7 @@ namespace mongo { typedef StringBuilderImpl<TrivialAllocator> StringBuilder; typedef StringBuilderImpl<StackAllocator> StackStringBuilder; -#if defined(_WIN32) +#if defined(_WIN32) && _MSC_VER < 1900 #undef snprintf #pragma pop_macro("snprintf") #endif |