From c293618ae817344c2e42cf33396e4da24617ea25 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 2 May 2016 19:39:13 +0100 Subject: [PATCH] Problem: testutil.hpp includes platform.hpp last Solution: before including internal headers, include platform.hpp so that the build time options are correctly applied to the included headers. --- tests/testutil.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testutil.hpp b/tests/testutil.hpp index 61ec8554..d1e97ef5 100644 --- a/tests/testutil.hpp +++ b/tests/testutil.hpp @@ -30,13 +30,13 @@ #ifndef __TESTUTIL_HPP_INCLUDED__ #define __TESTUTIL_HPP_INCLUDED__ -#include "../include/zmq.h" -#include "../src/stdint.hpp" #if defined ZMQ_CUSTOM_PLATFORM_HPP # include "platform.hpp" #else # include "../src/platform.hpp" #endif +#include "../include/zmq.h" +#include "../src/stdint.hpp" // This defines the settle time used in tests; raise this if we // get test failures on slower systems due to binds/connects not