Fix unit tests build

Export `recursive_mutex` because `emplace_alert` template injects
dependency on that type during instatiation.
This commit is contained in:
d-komarov 2018-05-06 22:53:34 +03:00 committed by Arvid Norberg
parent 894933e1f1
commit dc28c96559
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ namespace libtorrent
// internal
void sleep(int milliseconds);
struct recursive_mutex;
struct TORRENT_EXTRA_EXPORT recursive_mutex;
struct TORRENT_EXTRA_EXPORT condition_variable
{
@ -108,7 +108,7 @@ namespace libtorrent
#endif
// internal
struct recursive_mutex
struct TORRENT_EXTRA_EXPORT recursive_mutex
{
typedef boost::asio::detail::scoped_lock<recursive_mutex> scoped_lock;