diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-02-08 07:26:33 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-02-08 07:55:36 +0300 |
commit | 05b9571c1945803dff29dad60ea612dbafb94999 (patch) | |
tree | 60c78b42159a45b27205c9e8e6f01b5391608e84 /contrib | |
parent | 2f1f3d1ad61ece4b0804ebe4bf346c69b20e2751 (diff) | |
download | ydb-05b9571c1945803dff29dad60ea612dbafb94999.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.h | 4 |
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); |