mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Problem: syntax error on Windows related to socket descriptor type
Solution: use proper fd_t type, and also define and use a zmq_fd_t in the API
This commit is contained in:
@@ -76,7 +76,7 @@ class socket_poller_t
|
||||
int modify_fd (fd_t fd_, short events_);
|
||||
int remove_fd (fd_t fd_);
|
||||
// Returns the signaler's fd if there is one, otherwise errors.
|
||||
int signaler_fd ();
|
||||
fd_t signaler_fd ();
|
||||
|
||||
int wait (event_t *event_, int n_events_, long timeout_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user