Explorar o código

Fixup mac build

Craig Tiller %!s(int64=10) %!d(string=hai) anos
pai
achega
1c4319a3eb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/support/time_posix.c

+ 1 - 0
src/core/support/time_posix.c

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