From: Bruno Haible Date: Thu, 8 Mar 2012 03:02:53 +0000 (+0100) Subject: expm1l: Avoid compilation error on AIX. X-Git-Tag: v0.1~919 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=bb5fbd18dc7c27680bdbf81dd8f615020a58bdcb;p=gnulib.git expm1l: Avoid compilation error on AIX. * lib/math.in.h (expm1l): Undefine macro before declaration. Needed on AIX 5.2..7.1. --- diff --git a/ChangeLog b/ChangeLog index 800cc4ea32..10233c9e9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-03-07 Bruno Haible + + expm1l: Avoid compilation error on AIX. + * lib/math.in.h (expm1l): Undefine macro before declaration. Needed on + AIX 5.2..7.1. + 2012-03-07 Bruno Haible expm1l: Don't override undeclared system function on IRIX 6.5. diff --git a/lib/math.in.h b/lib/math.in.h index 3e20788fc6..da4bf966e2 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -580,6 +580,7 @@ _GL_WARN_ON_USE (expm1, "expm1 is unportable - " #if @GNULIB_EXPM1L@ # if !@HAVE_DECL_EXPM1L@ +# undef expm1l _GL_FUNCDECL_SYS (expm1l, long double, (long double x)); # endif _GL_CXXALIAS_SYS (expm1l, long double, (long double x));