[libcxx-commits] [PATCH] D92379: [libcxx] Apply msvcrt specific exception for lgamma() to mingw configurations, too
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 1 23:55:34 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0d7bd72f5ab4: [libcxx] Apply msvcrt specific exception for lgamma() to mingw configurations… (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92379/new/
https://reviews.llvm.org/D92379
Files:
libcxx/include/random
Index: libcxx/include/random
===================================================================
--- libcxx/include/random
+++ libcxx/include/random
@@ -4035,12 +4035,12 @@
{return !(__x == __y);}
};
-#ifndef _LIBCPP_MSVCRT
+#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)
+#if defined(_LIBCPP_MSVCRT_LIKE)
return lgamma(__d);
#else
int __sign;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92379.308886.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201202/1d2a8d52/attachment-0001.bin>
More information about the libcxx-commits
mailing list