X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Ftimer.c;h=bfc182cb5ba7e8a8167f03bfadf6855bfc43ee9e;hb=dd54dea0e09b2011f253230647a17cf2626d00f5;hp=65df9edcb8df06b189338723bb8b9974c9328c90;hpb=08258f28ea0a289c0993823a42d214a7d87cfd01;p=umurmur.git diff --git a/src/timer.c b/src/timer.c index 65df9ed..bfc182c 100644 --- a/src/timer.c +++ b/src/timer.c @@ -47,7 +47,7 @@ static uint64_t Timer_now() #ifdef __MACH__ clock_serv_t clock; mach_timespec_t mts; - host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &clock); + host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &clock); clock_get_time(clock, &mts); mach_port_deallocate(mach_task_self(), clock); ts.tv_sec = mts.tv_sec;