mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-13 18:55:11 +01:00
Merge pull request #41 from hintjens/master
Problem: zmq_event_t removed in libzmq v4.1
This commit is contained in:
commit
1f05e0d111
5
zmq.hpp
5
zmq.hpp
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user