aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-08 07:26:33 +0300
committerAlexander Smirnov <alex@ydb.tech>2024-02-09 19:18:49 +0300
commit3947fb601c126c5036e117f1672a357ac7bc4a71 (patch)
treea4f4b72d9b07aac2f7b1e90d437c4f3115438b2c /contrib
parentcddbfcc9622e34652d736b18ff4ddc37e900ed61 (diff)
downloadydb-3947fb601c126c5036e117f1672a357ac7bc4a71.tar.gz
Make #include <random> work in nvcc -std=c++17 mode
This backports [PR #80979](https://github.com/llvm/llvm-project/pull/80979) from llvm upstream.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__random/binomial_distribution.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__random/binomial_distribution.h b/contrib/libs/cxxsupp/libcxx/include/__random/binomial_distribution.h
index 7b0f055d50..6e55167873 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__random/binomial_distribution.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__random/binomial_distribution.h
@@ -113,10 +113,6 @@ public:
{return !(__x == __y);}
};
-#ifndef _LIBCPP_MSVCRT_LIKE
-extern "C" double lgamma_r(double, int *);
-#endif
-
inline _LIBCPP_INLINE_VISIBILITY double __libcpp_lgamma(double __d) {
#if defined(_LIBCPP_MSVCRT_LIKE)
return lgamma(__d);