mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00:00
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.
This commit is contained in:
parent
b469832409
commit
c293618ae8
@ -30,13 +30,13 @@
|
|||||||
#ifndef __TESTUTIL_HPP_INCLUDED__
|
#ifndef __TESTUTIL_HPP_INCLUDED__
|
||||||
#define __TESTUTIL_HPP_INCLUDED__
|
#define __TESTUTIL_HPP_INCLUDED__
|
||||||
|
|
||||||
#include "../include/zmq.h"
|
|
||||||
#include "../src/stdint.hpp"
|
|
||||||
#if defined ZMQ_CUSTOM_PLATFORM_HPP
|
#if defined ZMQ_CUSTOM_PLATFORM_HPP
|
||||||
# include "platform.hpp"
|
# include "platform.hpp"
|
||||||
#else
|
#else
|
||||||
# include "../src/platform.hpp"
|
# include "../src/platform.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
#include "../include/zmq.h"
|
||||||
|
#include "../src/stdint.hpp"
|
||||||
|
|
||||||
// This defines the settle time used in tests; raise this if we
|
// This defines the settle time used in tests; raise this if we
|
||||||
// get test failures on slower systems due to binds/connects not
|
// get test failures on slower systems due to binds/connects not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user