Files
pkgsrc-ng/devel/xulrunner17/patches/patch-ipc_chromium_src_base_time__posix.cc
2013-09-26 17:14:40 +02:00

14 lines
608 B
C++

$NetBSD: patch-ipc_chromium_src_base_time__posix.cc,v 1.1 2013/01/10 16:17:10 ryoon Exp $
--- ipc/chromium/src/base/time_posix.cc.orig 2012-08-24 22:55:37.000000000 +0000
+++ 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;