Reduce the duplication.

This commit is contained in:
NAIVEddd 2017-11-03 13:12:52 +08:00 committed by GitHub
parent 276f1b91c7
commit d28e13115d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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