From 988d33bcf8771e56c26109a6fd651f60865affa9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 6 Feb 2016 22:39:53 +1100 Subject: [PATCH] added windows.hpp with include check includes windows.hpp if on windows build for mingw build errors from including zmq.h before windows.h --- src/dish.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dish.cpp b/src/dish.cpp index 9e1f5a56..964805be 100644 --- a/src/dish.cpp +++ b/src/dish.cpp @@ -29,6 +29,12 @@ #include +#include "platform.hpp" + +#ifdef ZMQ_HAVE_WINDOWS +#include "windows.hpp" +#endif + #include "../include/zmq.h" #include "macros.hpp" #include "dish.hpp"