0
0
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:
Juan A. Garcia Pardo 2017-04-20 15:44:35 +02:00
parent ce602d08db
commit 52ce6aab86

View File

@ -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