blob: ec65ec24208f3562ae5f03f7a7f308b09e769986 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- third_party/libc++/src/src/filesystem/filesystem_clock.cpp.orig 2024-02-23 21:04:38 UTC
+++ third_party/libc++/src/src/filesystem/filesystem_clock.cpp
@@ -29,7 +29,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
|