summaryrefslogtreecommitdiff
path: root/src/syncServer.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2012-01-05 21:41:59 +0000
committerChristian Pointner <equinox@anytun.org>2012-01-05 21:41:59 +0000
commit2019e311b10bc56d0ab99759d7a8a42a85b97dc0 (patch)
tree353324a2cbad16080f3e703dc917bad0f8f5778a /src/syncServer.cpp
parentadded helper scripts for mingw environment (diff)
compiler clean windows checks
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));
}