From 2019e311b10bc56d0ab99759d7a8a42a85b97dc0 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 5 Jan 2012 21:41:59 +0000 Subject: compiler clean windows checks --- src/syncServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/syncServer.cpp') 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)); } -- cgit v1.2.3