summaryrefslogtreecommitdiff
path: root/src/syncServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/syncServer.cpp')
-rw-r--r--src/syncServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syncServer.cpp b/src/syncServer.cpp
index 71052b8..a2406fd 100644
--- a/src/syncServer.cpp
+++ b/src/syncServer.cpp
@@ -64,7 +64,7 @@ void SyncServer::onResolve(SyncTcpConnection::proto::resolver::iterator& it)
}
acceptor.acceptor_->open(e.protocol());
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(MINGW)
if(e.protocol() == boost::asio::ip::tcp::v6()) {
acceptor.acceptor_->set_option(boost::asio::ip::v6_only(true));
}