diff --git a/ChangeLog b/ChangeLog index 3a71f556..1d294aab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-12 Tatsuhiro Tsujikawa + + Fixed compile error on Mac OS X + * src/TimerA2.h + 2010-04-12 Tatsuhiro Tsujikawa Added warning for the system which lacks clock_gettime with diff --git a/src/TimerA2.h b/src/TimerA2.h index c0824d8c..9166d5b1 100644 --- a/src/TimerA2.h +++ b/src/TimerA2.h @@ -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: