From 981980190a8c3ea16eb29cdfbf842235907bc3c7 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 23 Jun 2013 20:37:03 +0000 Subject: [PATCH] one more windows linking issue --- test/setup_transfer.hpp | 8 +------- test/test.hpp | 10 ++++++++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/setup_transfer.hpp b/test/setup_transfer.hpp index be20f3adb..2396bb456 100644 --- a/test/setup_transfer.hpp +++ b/test/setup_transfer.hpp @@ -35,13 +35,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/session.hpp" #include -#include "libtorrent/config.hpp" - -#ifdef TORRENT_BUILDING_TEST_SHARED -#define EXPORT BOOST_SYMBOL_EXPORT -#else -#define EXPORT BOOST_SYMBOL_IMPORT -#endif +#include "test.hpp" namespace libtorrent { diff --git a/test/test.hpp b/test/test.hpp index 697e351fc..4a02dafdc 100644 --- a/test/test.hpp +++ b/test/test.hpp @@ -33,12 +33,18 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TEST_HPP #define TEST_HPP -void report_failure(char const* str, char const* file, int line); - #include #include #include +#include "libtorrent/config.hpp" + +#ifdef TORRENT_BUILDING_TEST_SHARED +#define EXPORT BOOST_SYMBOL_EXPORT +#else +#define EXPORT BOOST_SYMBOL_IMPORT +#endif + #if defined(_MSC_VER) #define COUNTER_GUARD(x) #else