mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-03-01 10:57:59 +01:00
Fix backward compatibility
This commit is contained in:
parent
a88bf3e0b0
commit
05a0256d0e
4
zmq.hpp
4
zmq.hpp
@ -417,8 +417,12 @@ namespace zmq
|
|||||||
xsub = ZMQ_XSUB,
|
xsub = ZMQ_XSUB,
|
||||||
push = ZMQ_PUSH,
|
push = ZMQ_PUSH,
|
||||||
pull = ZMQ_PULL,
|
pull = ZMQ_PULL,
|
||||||
|
#if ZMQ_VERSION_MAJOR < 4
|
||||||
|
pair = ZMQ_PAIR
|
||||||
|
#else
|
||||||
pair = ZMQ_PAIR,
|
pair = ZMQ_PAIR,
|
||||||
stream = ZMQ_STREAM
|
stream = ZMQ_STREAM
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user