fix-cuda-compilation.patch 500 B

123456789101112131415
  1. diff --git a/include/__random/binomial_distribution.h b/include/__random/binomial_distribution.h
  2. index 18053c7..7da71ad 100644
  3. --- a/include/__random/binomial_distribution.h
  4. +++ b/include/__random/binomial_distribution.h
  5. @@ -114,10 +114,6 @@ public:
  6. {return !(__x == __y);}
  7. };
  8. -#ifndef _LIBCPP_MSVCRT_LIKE
  9. -extern "C" double lgamma_r(double, int *);
  10. -#endif
  11. -
  12. inline _LIBCPP_INLINE_VISIBILITY double __libcpp_lgamma(double __d) {
  13. #if defined(_LIBCPP_MSVCRT_LIKE)
  14. return lgamma(__d);