Fixup mac build

pull/3767/head
Craig Tiller 9 years ago
parent 504ed5997a
commit 1c4319a3eb
  1. 1
      src/core/support/time_posix.c

@ -89,6 +89,7 @@ static uint64_t g_time_start;
void gpr_time_init(void) { void gpr_time_init(void) {
mach_timebase_info_data_t tb = {0, 1}; mach_timebase_info_data_t tb = {0, 1};
gpr_precise_clock_init();
mach_timebase_info(&tb); mach_timebase_info(&tb);
g_time_scale = tb.numer; g_time_scale = tb.numer;
g_time_scale /= tb.denom; g_time_scale /= tb.denom;

Loading…
Cancel
Save