diff options
author | Christian Pointner <equinox@anytun.org> | 2012-01-05 21:41:59 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2012-01-05 21:41:59 +0000 |
commit | 2019e311b10bc56d0ab99759d7a8a42a85b97dc0 (patch) | |
tree | 353324a2cbad16080f3e703dc917bad0f8f5778a /src/packetSource.cpp | |
parent | added helper scripts for mingw environment (diff) |
compiler clean windows checks
Diffstat (limited to 'src/packetSource.cpp')
-rw-r--r-- | src/packetSource.cpp | 2 |
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)); } |