Fix unit tests build
Export `recursive_mutex` because `emplace_alert` template injects dependency on that type during instatiation.
This commit is contained in:
parent
894933e1f1
commit
dc28c96559
|
@ -67,7 +67,7 @@ namespace libtorrent
|
||||||
// internal
|
// internal
|
||||||
void sleep(int milliseconds);
|
void sleep(int milliseconds);
|
||||||
|
|
||||||
struct recursive_mutex;
|
struct TORRENT_EXTRA_EXPORT recursive_mutex;
|
||||||
|
|
||||||
struct TORRENT_EXTRA_EXPORT condition_variable
|
struct TORRENT_EXTRA_EXPORT condition_variable
|
||||||
{
|
{
|
||||||
|
@ -108,7 +108,7 @@ namespace libtorrent
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// internal
|
// internal
|
||||||
struct recursive_mutex
|
struct TORRENT_EXTRA_EXPORT recursive_mutex
|
||||||
{
|
{
|
||||||
typedef boost::asio::detail::scoped_lock<recursive_mutex> scoped_lock;
|
typedef boost::asio::detail::scoped_lock<recursive_mutex> scoped_lock;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue