mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08: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__
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user