From b469832409acda336eff0ac5ccb283ae055c52a8 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 2 May 2016 19:37:54 +0100 Subject: [PATCH] Problem: precompiled.hpp ifdef'd for windows Solution: include platform.hpp and include/zmq.h outside of ifdef for windows, in order to be able to use it for internal definitions. --- src/precompiled.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/precompiled.hpp b/src/precompiled.hpp index 5005e22a..3a840fb6 100644 --- a/src/precompiled.hpp +++ b/src/precompiled.hpp @@ -138,10 +138,12 @@ #include #include - -// 0MQ definitions and exported functions -#include "../include/zmq.h" - #endif // _MSC_VER + +// 0MQ definitions and exported functions +#include "platform.hpp" +#include "../include/zmq.h" + + #endif //ifndef __ZMQ_PRECOMPILED_HPP_INCLUDED__