Commit c293618a authored by Luca Boccassi's avatar Luca Boccassi

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.
parent b4698324
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment