Merge pull request #51 from ligouras/master

Fix backward compatibility
This commit is contained in:
Pieter Hintjens 2015-09-26 20:42:39 +02:00
commit fa2f2c67a7

View File

@ -417,8 +417,12 @@ namespace zmq
xsub = ZMQ_XSUB,
push = ZMQ_PUSH,
pull = ZMQ_PULL,
#if ZMQ_VERSION_MAJOR < 4
pair = ZMQ_PAIR
#else
pair = ZMQ_PAIR,
stream = ZMQ_STREAM
#endif
};
#endif