]> Savannah Git Hosting - gnulib.git/commit
signbit: Fix compilation error with g++ 5.5 on Solaris 10.
authorBruno Haible <bruno@clisp.org>
Fri, 6 Dec 2024 19:48:06 +0000 (20:48 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 25 Dec 2024 13:34:29 +0000 (14:34 +0100)
commita147541558c0ddabbf8bc7277014d7f05196d084
treea5cdede9d13b20725e786fafd5b93908771c88f9
parentcc2f8afd6fb37656ce53082e177847212a46c664
signbit: Fix compilation error with g++ 5.5 on Solaris 10.

Reported by G. Branden Robinson <g.branden.robinson@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-11/msg00180.html>.

* lib/math.in.h (signbit): In C++ 11 or newer, assume that <math.h> or
<cmath> may define signbit through three inline functions.
ChangeLog
lib/math.in.h