Commit d01fb265 authored by Matt Johnston's avatar Matt Johnston
Browse files

Fix monotonic_now() on OS X

parent db688e3e
......@@ -962,7 +962,7 @@ time_t monotonic_now() {
return ts.tv_sec;
/* OS X, see */
mach_timebase_info_data_t timebase_info;
static mach_timebase_info_data_t timebase_info;
if (timebase_info.denom == 0) {
Supports Markdown
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