Commit bb980f38 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Update compilation for zmq cpp greater and lower than 4.7.1

parent caee3a69
Pipeline #104534 passed with stages
in 5 minutes and 26 seconds
...@@ -22,7 +22,7 @@ zmq::socket_t* pzmq_createClientSocket(zmq::context_t & context, int type, const ...@@ -22,7 +22,7 @@ zmq::socket_t* pzmq_createClientSocket(zmq::context_t & context, int type, const
socket->connect(socketAddressData.str()); socket->connect(socketAddressData.str());
if(type == ZMQ_SUB){ if(type == ZMQ_SUB){
#if (CPPZMQ_VERSION_MAJOR*100 + CPPZMQ_VERSION_MINOR*10 + CPPZMQ_VERSION_PATCH) > 522 #if (CPPZMQ_VERSION_MAJOR*100 + CPPZMQ_VERSION_MINOR*10 + CPPZMQ_VERSION_PATCH) >= 471
socket->set(zmq::sockopt::linger, 0); socket->set(zmq::sockopt::linger, 0);
socket->set(zmq::sockopt::subscribe, "", 0); socket->set(zmq::sockopt::subscribe, "", 0);
socket->set(zmq::sockopt::conflate, 1); socket->set(zmq::sockopt::conflate, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment