# HG changeset patch # User Bruno Haible # Date 1331679732 -3600 # Node ID 37aa30e20e53345f96bf9d0289bb52c44bfd249f # Parent 55c4c6aa19f46a51fa0f13a16c039511591209db remainderl: Avoid compilation error on AIX >= 5.2. * lib/math.in.h (remainderl): Undefine macro from the system header. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-03-13 Bruno Haible + + remainderl: Avoid compilation error on AIX >= 5.2. + * lib/math.in.h (remainderl): Undefine macro from the system header. + 2012-03-13 Bruno Haible Avoid compilation errors with MSVC option -fp:strict. diff --git a/lib/math.in.h b/lib/math.in.h --- a/lib/math.in.h +++ b/lib/math.in.h @@ -1506,6 +1506,7 @@ _GL_CXXALIAS_RPL (remainderl, long double, (long double x, long double y)); # else # if !@HAVE_DECL_REMAINDERL@ +# undef remainderl _GL_FUNCDECL_SYS (remainderl, long double, (long double x, long double y)); # endif _GL_CXXALIAS_SYS (remainderl, long double, (long double x, long double y));