From 45404f4b06238ad679f8e360ce48ee20171b16ad Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 12 Feb 2016 23:36:07 +1100 Subject: [PATCH] added windows.hpp with include check windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600 --- src/msg.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/msg.cpp b/src/msg.cpp index 00ed1595..95116b90 100644 --- a/src/msg.cpp +++ b/src/msg.cpp @@ -27,6 +27,12 @@ along with this program. If not, see . */ +#include "platform.hpp" + +#ifdef ZMQ_HAVE_WINDOWS +#include "windows.hpp" +#endif + #include "msg.hpp" #include "../include/zmq.h"