diff --git a/src/windows.hpp b/src/windows.hpp index 94b1cee4..098fd9a3 100644 --- a/src/windows.hpp +++ b/src/windows.hpp @@ -83,7 +83,7 @@ struct tcp_keepalive { #include #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