mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 18:40:28 +01:00
update directive for ZMQ_MAKE_VERSION check against zmq_msg_gets method
This commit is contained in:
parent
a15d175bce
commit
2def369043
2
zmq.hpp
2
zmq.hpp
@ -373,7 +373,7 @@ namespace zmq
|
|||||||
return a == b;
|
return a == b;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 0, 8)
|
#if ZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 1, 0)
|
||||||
inline const char* gets(const char *property_)
|
inline const char* gets(const char *property_)
|
||||||
{
|
{
|
||||||
const char* value = zmq_msg_gets (&msg, property_);
|
const char* value = zmq_msg_gets (&msg, property_);
|
||||||
|
Loading…
Reference in New Issue
Block a user