summaryrefslogtreecommitdiff
path: root/src/packetSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/packetSource.cpp')
-rw-r--r--src/packetSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packetSource.cpp b/src/packetSource.cpp
index bd3590d..6a96d18 100644
--- a/src/packetSource.cpp
+++ b/src/packetSource.cpp
@@ -79,7 +79,7 @@ void UDPPacketSource::onResolve(PacketSourceResolverIt& it)
}
sock.sock_->open(e.protocol());
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(MINGW)
if(e.protocol() == proto::v6()) {
sock.sock_->set_option(boost::asio::ip::v6_only(true));
}