blob: 74549d1bed4b4a86982ed198fd4e141185e2ae21 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- third_party/libc++/src/src/chrono.cpp.orig 2024-02-23 21:04:38 UTC
+++ third_party/libc++/src/src/chrono.cpp
@@ -31,7 +31,7 @@
# include <sys/time.h> // for gettimeofday and timeval
#endif
-#if defined(__APPLE__) || defined(__gnu_hurd__) || (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0)
+#if defined(__APPLE__) || defined(__gnu_hurd__) || (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0) || defined(__OpenBSD__) || defined(__FreeBSD__)
# define _LIBCPP_HAS_CLOCK_GETTIME
#endif
|