DescriptionUse base/time/time_posix.cc on OS X and iOS.
OS X and iOS used different implementation than other platforms because
time_t is a long, and thus only 32-bits. Since support for 32-bit OS X
has been dropped, this decision can be reverted and OS X/iOS can share
the POSIX implementation.
Port ComputeCurrentTicks/ComputeThreadTicks from time_mac.cc to
time_posix.cc as OS X/iOS does not have a working "clock_gettime".
BUG=565574
Patch Set 1 #Patch Set 2 : Fix compilation on Mac #
|