Merge pull request #114 from jgornowich/master

update directive for ZMQ_MAKE_VERSION check against zmq_msg_gets method
This commit is contained in:
Luca Boccassi 2017-02-20 13:18:27 +00:00 committed by GitHub
commit 1fdf3d1dfe

View File

@ -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_);