diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-03-26 06:15:16 +0000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-03-26 06:15:16 +0000 |
commit | 7362680364ea755627ed6d7c89b3a1acb3eb4eb3 (patch) | |
tree | 3b650834cf9bcb14e82bf5f696ecdebac2201550 | |
parent | 8bf8c80a2fc156e1a60fd4da4346d4bfa6f18123 (diff) | |
download | mongo-7362680364ea755627ed6d7c89b3a1acb3eb4eb3.tar.gz |
Fix missing fsync function on Windows.
-rw-r--r-- | src/include/os_windows.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/os_windows.h b/src/include/os_windows.h index 49cf4d2a126..de97143335f 100644 --- a/src/include/os_windows.h +++ b/src/include/os_windows.h @@ -75,3 +75,6 @@ _Check_return_opt_ int __cdecl _wt_vsnprintf( /* Provide a custom version of localtime_r */ struct tm *localtime_r(const time_t* timer, struct tm* result); + +/* Windows does not provide fsync */ +#define fsync _commit |