Merge pull request #2539 from juan-filewave/win_build_if_defined_ZMQ_USE_POLL

Problem: Windows build broken by #if ZMQ_USE_POLL
This commit is contained in:
Luca Boccassi 2017-04-20 15:05:15 +01:00 committed by GitHub
commit aa90863b77

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