Commit 68fc66c8 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4814] fixing unused parameter warning on osx

git-svn-id: file:///svn/toku/tokudb@43193 c7de825b-a66e-492c-adef-691d508d4ae1
parent f8eda673
......@@ -26,6 +26,10 @@ static inline int
toku_clock_gettime(clockid_t clk_id, struct timespec *ts)
{
#if !defined(HAVE_CLOCK_REALTIME)
if (clk_id != CLOCK_REALTIME) {
// dunno how to fake any of the other ones on osx
return EINVAL;
}
clock_serv_t cclock;
mach_timespec_t mts;
host_get_clock_service(mach_host_self(), REALTIME_CLOCK, &cclock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment