]> 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>
Fri, 6 Dec 2024 19:48:06 +0000 (20:48 +0100)
commit0c5c7fcf2c16d850e2d8b7cd6e4724b00dd4ae22
tree35619cd608f658ecc71db4ead1c7f2f4ef80c968
parentb64ee46c7ff3459590b471756ec45cd7cabd6a51
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