mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-14 15:05:38 +02:00
More fixes for win build
This commit is contained in:
@@ -464,6 +464,7 @@ int zmq::socket_base_t::connect (const char *addr_)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
|
||||||
else if(protocol == "ipc") {
|
else if(protocol == "ipc") {
|
||||||
paddr->resolved.ipc_addr = new (std::nothrow) ipc_address_t ();
|
paddr->resolved.ipc_addr = new (std::nothrow) ipc_address_t ();
|
||||||
zmq_assert (paddr->resolved.ipc_addr);
|
zmq_assert (paddr->resolved.ipc_addr);
|
||||||
@@ -473,7 +474,7 @@ int zmq::socket_base_t::connect (const char *addr_)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
// Create session.
|
// Create session.
|
||||||
session_base_t *session = session_base_t::create (io_thread, true, this,
|
session_base_t *session = session_base_t::create (io_thread, true, this,
|
||||||
options, paddr);
|
options, paddr);
|
||||||
|
Reference in New Issue
Block a user