mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
Merge pull request #1526 from somdoron/master
problem: new field is breaking existing code
This commit is contained in:
commit
eb1d72f81d
@ -398,7 +398,6 @@ ZMQ_EXPORT int zmq_remove_poller (void *s, void *p);
|
|||||||
typedef struct zmq_pollitem_t
|
typedef struct zmq_pollitem_t
|
||||||
{
|
{
|
||||||
void *socket;
|
void *socket;
|
||||||
void *poller;
|
|
||||||
#if defined _WIN32
|
#if defined _WIN32
|
||||||
SOCKET fd;
|
SOCKET fd;
|
||||||
#else
|
#else
|
||||||
@ -406,6 +405,7 @@ typedef struct zmq_pollitem_t
|
|||||||
#endif
|
#endif
|
||||||
short events;
|
short events;
|
||||||
short revents;
|
short revents;
|
||||||
|
void *poller;
|
||||||
} zmq_pollitem_t;
|
} zmq_pollitem_t;
|
||||||
|
|
||||||
#define ZMQ_POLLITEMS_DFLT 16
|
#define ZMQ_POLLITEMS_DFLT 16
|
||||||
|
Loading…
x
Reference in New Issue
Block a user