mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 02:07:59 +08:00
Problem: Windows build broken by #if ZMQ_USE_POLL
Solution: use #if defined ZMQ_USE_POLL
This commit is contained in:
parent
ce602d08db
commit
52ce6aab86
@ -83,7 +83,7 @@ struct tcp_keepalive {
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
||||
#if ZMQ_USE_POLL
|
||||
#if defined ZMQ_USE_POLL
|
||||
static inline int poll(struct pollfd *pfd, unsigned long nfds, int timeout) { return WSAPoll(pfd, nfds, timeout); }
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user