# HG changeset patch # User Bruno Haible # Date 1331173040 -3600 # Node ID f57d6aac15cebee43353ea04a7620cba4c2105be # Parent 549120e12a45377450f6834ac6ddec399c3b27e7 roundl: Avoid compilation error on AIX. * lib/math.in.h (roundl): Undefine macro before declaration. Needed on AIX 5.2..7.1. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-03-07 Bruno Haible + + roundl: Avoid compilation error on AIX. + * lib/math.in.h (roundl): Undefine macro before declaration. Needed on + AIX 5.2..7.1. + 2012-03-07 Bruno Haible roundl: Don't override undeclared system function on IRIX 6.5. diff --git a/lib/math.in.h b/lib/math.in.h --- a/lib/math.in.h +++ b/lib/math.in.h @@ -1375,6 +1375,7 @@ _GL_CXXALIAS_RPL (roundl, long double, (long double x)); # else # if !@HAVE_DECL_ROUNDL@ +# undef roundl _GL_FUNCDECL_SYS (roundl, long double, (long double x)); # endif _GL_CXXALIAS_SYS (roundl, long double, (long double x));