aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_clock.cpp
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2025-04-19 17:15:47 +0300
committermikhnenko <mikhnenko@yandex-team.com>2025-04-19 17:32:41 +0300
commit8a4ae1910b2babbc014f5d5ff97c2245803d6d1a (patch)
tree9c8728b4ad4226ef084d46a6d6cde7b5ae46e4d5 /contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_clock.cpp
parent605a8a3075d2116bf0c742d7ae889ba14b801a8e (diff)
downloadydb-8a4ae1910b2babbc014f5d5ff97c2245803d6d1a.tar.gz
Update libcxx to 20 Sep 2024
TRIVIAL commit_hash:04d8ae0a53854a1ed8cdea2e191c8dfa1248c023
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_clock.cpp')
-rw-r--r--contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_clock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_clock.cpp b/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_clock.cpp
index e13b2853e36..473a54a00f0 100644
--- a/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_clock.cpp
+++ b/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_clock.cpp
@@ -29,7 +29,8 @@
# 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(__AMDGPU__) || defined(__NVPTX__) || \
+ (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0)
# define _LIBCPP_HAS_CLOCK_GETTIME
#endif