forked from premiere/premiere-libtorrent
fix int64_t -> boost::int64_t and run distcheck on build_dist.sh script
This commit is contained in:
parent
330d46a4c6
commit
8a132cb9ca
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue