mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-15 23:20:09 +02:00
Minor compile-time bug on Windows fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -201,7 +201,7 @@ int zmq::tcp_connecter_t::open ()
|
|||||||
// Enable IPv4-mapping of addresses in case it is disabled by default.
|
// Enable IPv4-mapping of addresses in case it is disabled by default.
|
||||||
#ifdef IPV6_V6ONLY
|
#ifdef IPV6_V6ONLY
|
||||||
if (addr.ss_family == AF_INET6) {
|
if (addr.ss_family == AF_INET6) {
|
||||||
#if ZMQ_HAVE_WINDOWS
|
#ifdef ZMQ_HAVE_WINDOWS
|
||||||
DWORD flag = 0;
|
DWORD flag = 0;
|
||||||
#else
|
#else
|
||||||
int flag = 0;
|
int flag = 0;
|
||||||
|
Reference in New Issue
Block a user