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> #include <process.h>
#endif #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); } static inline int poll(struct pollfd *pfd, unsigned long nfds, int timeout) { return WSAPoll(pfd, nfds, timeout); }
#endif #endif