diff options
author | Dmitri Smirnov <dmitrism@microsoft.com> | 2015-07-07 16:58:20 -0700 |
---|---|---|
committer | Dmitri Smirnov <dmitrism@microsoft.com> | 2015-07-07 16:58:20 -0700 |
commit | ef4b87f1b2ee49ac602697786db06e9d5105903d (patch) | |
tree | edf6642ed4fc09e3c74ddb747128fc07b427e240 /third-party | |
parent | e25ee32e3d7e8ddcb28f1466e67f5ff930450b57 (diff) |
Commit both PR and internal code review changes
Diffstat (limited to 'third-party')
-rw-r--r-- | third-party/fbson/FbsonStream.h | 5 |
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> |