]> 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 14:30:44 +0000 (15:30 +0100)
commit0557d6543978a67d97274f83dff4370bd19110fd
tree29fb305d958a2f85ff4eb65c4beb1db09aa2ca3b
parent2491e401d3ef284a69987d038b4bf517f282704b
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