fixed DLL link issues

This commit is contained in:
Arvid Norberg
2009-11-30 07:03:34 +00:00
parent 5b039a8982
commit 3fb05a13b1
9 changed files with 26 additions and 29 deletions

View File

@@ -163,13 +163,6 @@ namespace detail
namespace aux {
// used to cache the current time
// every 100 ms. This is cheaper
// than a system call and can be
// used where more accurate time
// is not necessary
TORRENT_EXPORT ptime g_current_time = time_now_hires();
struct seed_random_generator
{
seed_random_generator()
@@ -1275,6 +1268,13 @@ namespace aux {
}
}
// used to cache the current time
// every 100 ms. This is cheaper
// than a system call and can be
// used where more accurate time
// is not necessary
extern ptime g_current_time;
void session_impl::on_tick(error_code const& e)
{
mutex::scoped_lock l(m_mutex);