Skip to content

Commit 3343983

Browse files
committed
[libc++] Don't mark lgamma_r as noexcept on Fuchsia
Building on Fuchsia is broken after #156547. This disables the NOEXCEPT on Fuchsia to unbreak things. Hopefully we can come up with a more forward-compatible fix later.
1 parent f069700 commit 3343983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__random/binomial_distribution.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class binomial_distribution {
104104
# else
105105
# define _LIBCPP_LGAMMA_R_NOEXCEPT
106106
# endif
107-
#elif defined(__LLVM_LIBC__)
107+
#elif defined(__LLVM_LIBC__) && !defined(__Fuchsia__)
108108
# define _LIBCPP_LGAMMA_R_NOEXCEPT _NOEXCEPT
109109
#else
110110
# define _LIBCPP_LGAMMA_R_NOEXCEPT

0 commit comments

Comments
 (0)