summaryrefslogtreecommitdiff
path: root/test/windows/windows_shim.h
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2017-04-14 03:25:28 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2017-04-14 03:25:28 +1000
commitf5c08e2b5f02805b062888d45c9eca19af175f7e (patch)
tree0b43098fab6f6059c04c89e9b85337d5f625c5f2 /test/windows/windows_shim.h
parentd48181f6f4db08761ed7b80b0332908b272ad0d0 (diff)
parentcb16839cfbdf338af95bed43ca40979ae6e32f54 (diff)
downloadmongodb-3.2.13.tar.gz
Merge branch 'mongodb-3.4' into mongodb-3.2mongodb-3.2.13
Diffstat (limited to 'test/windows/windows_shim.h')
-rw-r--r--test/windows/windows_shim.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/windows/windows_shim.h b/test/windows/windows_shim.h
index 648b991b1a2..8985904fb19 100644
--- a/test/windows/windows_shim.h
+++ b/test/windows/windows_shim.h
@@ -36,6 +36,8 @@
#include <io.h>
#include <process.h>
+#include "wt_internal.h"
+
#define inline __inline
/* Define some POSIX types */
@@ -52,12 +54,7 @@ typedef int u_int;
/* snprintf does not exist on <= VS 2013 */
#if _MSC_VER < 1900
-#define snprintf _wt_snprintf
-
-_Check_return_opt_ int __cdecl _wt_snprintf(
- _Out_writes_(_MaxCount) char * _DstBuf,
- _In_ size_t _MaxCount,
- _In_z_ _Printf_format_string_ const char * _Format, ...);
+#define snprintf __wt_snprintf
#endif
/*