blob: f42ed1be5084e9391b555a1cde143823682bfd06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-mozilla_ipc_chromium_src_base_time__posix.cc,v 1.1 2013/11/13 13:27:45 ryoon Exp $
--- mozilla/ipc/chromium/src/base/time_posix.cc.orig 2012-08-25 00:31:11.000000000 +0000
+++ mozilla/ipc/chromium/src/base/time_posix.cc
@@ -167,7 +167,7 @@ TimeTicks TimeTicks::Now() {
// With numer and denom = 1 (the expected case), the 64-bit absolute time
// reported in nanoseconds is enough to last nearly 585 years.
-#elif defined(__OpenBSD__) || defined(OS_POSIX) && \
+#elif defined(OS_OPENBSD) || defined(OS_POSIX) && \
defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0
struct timespec ts;
|