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

ChangeLog
lib/math.in.h

index 6cfc297bd18e79b5bb43bf864d207006229454fb..0a94e198f4a4583a8a2607c396e2370fb1888d44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-08  Bruno Haible  <bruno@clisp.org>
+
+       fmal: Avoid compilation error on AIX.
+       * lib/math.in.h (fmal): Undefine macro before declaration. Needed on
+       AIX 5.2..7.1.
+
 2012-03-08  Bruno Haible  <bruno@clisp.org>
 
        fma, fmaf, fmal: Override undeclared system functions on IRIX 6.5.
index da4bf966e2a276e26897c5a4bc7883e504b7ba59..1426b138941dffd65f61c1b37ea92730ca7a27cd 100644 (file)
@@ -754,6 +754,7 @@ _GL_CXXALIAS_RPL (fmal, long double,
                   (long double x, long double y, long double z));
 # else
 #  if !@HAVE_FMAL@
+#   undef fmal
 _GL_FUNCDECL_SYS (fmal, long double,
                   (long double x, long double y, long double z));
 #  endif