aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxcuda11/patches/fix-cuda-compilation.patch
blob: 61088536ed6c0b5fe55e70cfa313b6c06299f6d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/__random/binomial_distribution.h b/include/__random/binomial_distribution.h
index 18053c7..7da71ad 100644
--- a/include/__random/binomial_distribution.h
+++ b/include/__random/binomial_distribution.h
@@ -114,10 +114,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);