summaryrefslogtreecommitdiff
path: root/third-party
diff options
context:
space:
mode:
authorDmitri Smirnov <dmitrism@microsoft.com>2015-07-07 16:58:20 -0700
committerDmitri Smirnov <dmitrism@microsoft.com>2015-07-07 16:58:20 -0700
commitef4b87f1b2ee49ac602697786db06e9d5105903d (patch)
treeedf6642ed4fc09e3c74ddb747128fc07b427e240 /third-party
parente25ee32e3d7e8ddcb28f1466e67f5ff930450b57 (diff)
Commit both PR and internal code review changes
Diffstat (limited to 'third-party')
-rw-r--r--third-party/fbson/FbsonStream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/third-party/fbson/FbsonStream.h b/third-party/fbson/FbsonStream.h
index 6ac132bae..bd59ea172 100644
--- a/third-party/fbson/FbsonStream.h
+++ b/third-party/fbson/FbsonStream.h
@@ -30,6 +30,11 @@
#define __STDC_FORMAT_MACROS
#endif
+#if defined OS_WIN && !defined snprintf
+# define snprintf _snprintf
+#endif
+
+
#include <inttypes.h>
#include <iostream>