Commit 52ce6aab authored by Juan A. Garcia Pardo's avatar Juan A. Garcia Pardo

Problem: Windows build broken by #if ZMQ_USE_POLL

Solution: use #if defined ZMQ_USE_POLL
parent ce602d08
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment