one more windows linking issue

This commit is contained in:
Arvid Norberg 2013-06-23 20:37:03 +00:00
parent aa58f26985
commit 981980190a
2 changed files with 9 additions and 9 deletions

View File

@ -35,13 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/session.hpp"
#include <boost/tuple/tuple.hpp>
#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
{

View File

@ -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 <boost/config.hpp>
#include <exception>
#include <sstream>
#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