]> Savannah Git Hosting - gnulib.git/commitdiff
expm1l: Avoid compilation error on AIX.
authorBruno Haible <bruno@clisp.org>
Thu, 8 Mar 2012 03:02:53 +0000 (04:02 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 8 Mar 2012 03:02:53 +0000 (04:02 +0100)
* lib/math.in.h (expm1l): Undefine macro before declaration. Needed on
AIX 5.2..7.1.

ChangeLog
lib/math.in.h

index 800cc4ea3250bb19d37ec2082b6b20465794cfd2..10233c9e9b76fb7fdbce0fd3079b8e8b9e39156c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-07  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        expm1l: Don't override undeclared system function on IRIX 6.5.
index 3e20788fc638568a063829d88f2ef0245a55f151..da4bf966e2a276e26897c5a4bc7883e504b7ba59 100644 (file)
@@ -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));