fix int64_t -> boost::int64_t and run distcheck on build_dist.sh script

This commit is contained in:
Arvid Norberg 2014-05-11 08:20:42 +00:00
parent 330d46a4c6
commit 8a132cb9ca
3 changed files with 4 additions and 3 deletions

View File

@ -18,4 +18,5 @@ chmod a-x docs/*.rst docs/*.htm* src/*.cpp include/libtorrent/*.hpp
./autotool.sh
./configure --enable-python-binding --enable-examples=yes --enable-tests=yes --with-boost-system=mt --with-boost-python=mt --enable-tests
make V=1 -j8 dist check
make V=1 -j8 distcheck

View File

@ -901,7 +901,7 @@ namespace libtorrent
void recalculate_optimistic_unchoke_slots();
ptime m_created;
int64_t session_time() const { return total_seconds(time_now() - m_created); }
boost::int64_t session_time() const { return total_seconds(time_now() - m_created); }
ptime m_last_tick;
ptime m_last_second_tick;

View File

@ -156,7 +156,7 @@ namespace libtorrent
INVARIANT_CHECK;
int64_t dt_milliseconds = total_milliseconds(dt);
boost::int64_t dt_milliseconds = total_milliseconds(dt);
if (dt_milliseconds > 3000) dt_milliseconds = 3000;
// for each bandwidth channel, call update_quota(dt)