windows.hpp needs to be included before zmq.h

windows.hpp must be included first due to increases _WIN32_WINNT version
This commit is contained in:
Michael 2016-02-06 23:31:56 +11:00
parent d06314df84
commit 7270d4de65

View File

@ -28,7 +28,6 @@
*/
#include "macros.hpp"
#include "testutil.hpp"
#if defined ZMQ_HAVE_WINDOWS
#include "windows.hpp"
@ -36,6 +35,8 @@
#include <unistd.h>
#endif
#include "testutil.hpp"
void sleep_ (long timeout_)
{
#if defined ZMQ_HAVE_WINDOWS