Merge pull request #41 from hintjens/master

Problem: zmq_event_t removed in libzmq v4.1
This commit is contained in:
Richard Newton 2014-09-11 16:51:03 +01:00
commit 1f05e0d111

View File

@ -62,6 +62,11 @@
#if ZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 1, 0)
#define ZMQ_HAS_PROXY_STEERABLE
/* Socket event data */
typedef struct {
uint16_t event; // id of the event as bitfield
int32_t value ; // value is either error code, fd or reconnect interval
} zmq_event_t;
#endif
// In order to prevent unused variable warnings when building in non-debug