summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp3
-rw-r--r--src/third_party/wiredtiger/SConscript1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
index 0cac0b0a642..22ae293a595 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
@@ -158,9 +158,6 @@ WiredTigerKVEngine::WiredTigerKVEngine(const std::string& canonicalName,
ss << ",log_size=2GB),";
ss << "statistics_log=(wait=" << wiredTigerGlobalOptions.statisticsLogDelaySecs << "),";
ss << WiredTigerCustomizationHooks::get(getGlobalServiceContext())->getOpenConfig("system");
-#ifdef _WIN32
- ss << "direct_io=(data),";
-#endif
ss << extraOpenOptions;
if (!_durable) {
// If we started without the journal, but previously used the journal then open with the
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript
index 38be047f56d..dbff3006239 100644
--- a/src/third_party/wiredtiger/SConscript
+++ b/src/third_party/wiredtiger/SConscript
@@ -44,7 +44,6 @@ if env.TargetOSIs('windows'):
if get_option('allocator') == 'tcmalloc':
env.InjectThirdPartyIncludePaths(libraries=['gperftools'])
env.Append(CPPDEFINES=['HAVE_LIBTCMALLOC'])
- env.Append(CPPDEFINES=['HAVE_POSIX_MEMALIGN'])
elif env.TargetOSIs('osx'):
env.Append(CPPPATH=["build_darwin"])
elif env.TargetOSIs('solaris'):