Skip to content

Conversation

jhuber6
Copy link
Contributor

@jhuber6 jhuber6 commented Sep 9, 2025

No description provided.

@jhuber6 jhuber6 requested a review from ldionne September 9, 2025 04:11
@jhuber6 jhuber6 requested a review from a team as a code owner September 9, 2025 04:11
@jhuber6 jhuber6 requested review from nico and philnik777 September 9, 2025 04:11
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Sep 9, 2025
@llvmbot
Copy link
Member

llvmbot commented Sep 9, 2025

@llvm/pr-subscribers-libcxx

Author: Joseph Huber (jhuber6)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/157610.diff

1 Files Affected:

  • (modified) libcxx/include/__random/binomial_distribution.h (+2)
diff --git a/libcxx/include/__random/binomial_distribution.h b/libcxx/include/__random/binomial_distribution.h
index e1e852ec9a3a9..bada8cfdd74a3 100644
--- a/libcxx/include/__random/binomial_distribution.h
+++ b/libcxx/include/__random/binomial_distribution.h
@@ -101,6 +101,8 @@ class binomial_distribution {
 #if defined(_LIBCPP_GLIBC_PREREQ)
 #  if _LIBCPP_GLIBC_PREREQ(2, 8)
 #    define _LIBCPP_LGAMMA_R_NOEXCEPT _NOEXCEPT
+#  else
+#    define _LIBCPP_LGAMMA_R_NOEXCEPT
 #  endif
 #elif defined(__LLVM_LIBC__)
 #  define _LIBCPP_LGAMMA_R_NOEXCEPT _NOEXCEPT

@ldionne ldionne merged commit 150f3c3 into llvm:main Sep 9, 2025
74 of 79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants