Skip to content

Commit

Permalink
Fix backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ligouras committed Sep 26, 2015
1 parent a88bf3e commit 05a0256
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zmq.hpp
Expand Up @@ -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

Expand Down

0 comments on commit 05a0256

Please sign in to comment.