mirror of https://github.com/aria2/aria2
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error on Mac OS X * src/TimerA2.hpull/1/head
parent
473d1ff6b5
commit
6a0c23b44d
|
@ -1,3 +1,8 @@
|
|||
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed compile error on Mac OS X
|
||||
* src/TimerA2.h
|
||||
|
||||
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added warning for the system which lacks clock_gettime with
|
||||
|
|
|
@ -44,7 +44,7 @@ class Timer {
|
|||
private:
|
||||
timeval _tv;
|
||||
|
||||
int64_t difference(const struct timeval& tv) const;
|
||||
time_t difference(const struct timeval& tv) const;
|
||||
|
||||
int64_t differenceInMillis(const struct timeval& tv) const;
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue