added windows.hpp with include check

windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600
This commit is contained in:
Michael 2016-02-12 23:36:48 +11:00
parent 45404f4b06
commit 2058dece77

View File

@ -32,6 +32,10 @@
#include "platform.hpp" #include "platform.hpp"
#ifdef ZMQ_HAVE_WINDOWS
#include "windows.hpp"
#endif
#if defined ZMQ_USE_KQUEUE + defined ZMQ_USE_EPOLL \ #if defined ZMQ_USE_KQUEUE + defined ZMQ_USE_EPOLL \
+ defined ZMQ_USE_DEVPOLL + defined ZMQ_USE_POLL \ + defined ZMQ_USE_DEVPOLL + defined ZMQ_USE_POLL \
+ defined ZMQ_USE_SELECT > 1 + defined ZMQ_USE_SELECT > 1