mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-07 09:48:07 +01:00
Merge pull request #1915 from hitstergtd/checkproto-windows-fix
Problem: Windows IPC check broken (check_protocol)
This commit is contained in:
commit
ad4e091a5a
@ -271,7 +271,7 @@ int zmq::socket_base_t::check_protocol (const std::string &protocol_)
|
|||||||
{
|
{
|
||||||
// First check out whether the protocol is something we are aware of.
|
// First check out whether the protocol is something we are aware of.
|
||||||
if (protocol_ != "inproc"
|
if (protocol_ != "inproc"
|
||||||
#if !defined ZMQ_HAVE_WINDOWS || !defined ZMQ_HAVE_OPENVMS
|
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
|
||||||
&& protocol_ != "ipc"
|
&& protocol_ != "ipc"
|
||||||
#endif
|
#endif
|
||||||
&& protocol_ != "tcp"
|
&& protocol_ != "tcp"
|
||||||
|
Loading…
Reference in New Issue
Block a user