Commit a3f27400 authored by Martin Sustrik's avatar Martin Sustrik

Minor compile-time bug on Windows fixed

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 1c54ce37
......@@ -201,7 +201,7 @@ int zmq::tcp_connecter_t::open ()
// Enable IPv4-mapping of addresses in case it is disabled by default.
#ifdef IPV6_V6ONLY
if (addr.ss_family == AF_INET6) {
#if ZMQ_HAVE_WINDOWS
#ifdef ZMQ_HAVE_WINDOWS
DWORD flag = 0;
#else
int flag = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment