patch-ipc_chromium_src_base_time_posix_cc 560 B

1234567891011
  1. --- mozilla-release.orig/ipc/chromium/src/base/time_posix.cc 2011-07-08 03:15:22.000000000 +0200
  2. +++ mozilla-release/ipc/chromium/src/base/time_posix.cc 2012-10-03 13:54:12.000000000 +0200
  3. @@ -164,7 +164,7 @@ TimeTicks TimeTicks::Now() {
  4. // With numer and denom = 1 (the expected case), the 64-bit absolute time
  5. // reported in nanoseconds is enough to last nearly 585 years.
  6. -#elif defined(OS_POSIX) && \
  7. +#elif defined(__linux__) || defined(OS_POSIX) && \
  8. defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0
  9. struct timespec ts;