mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
11 lines
365 B
C++
11 lines
365 B
C++
--- base/time/time_now_posix.cc.orig 2025-02-22 18:06:53 UTC
|
|
+++ base/time/time_now_posix.cc
|
|
@@ -27,7 +27,7 @@
|
|
#endif
|
|
|
|
// NaCl doesn't support CLOCK_MONOTONIC_COARSE.
|
|
-#if BUILDFLAG(IS_NACL)
|
|
+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
|
|
#define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC
|
|
#else
|
|
#define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC_COARSE
|