]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
remainderl: Avoid compilation error on AIX >= 5.2.
authorBruno Haible <bruno@clisp.org>
Tue, 13 Mar 2012 23:02:12 +0000 (00:02 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 13 Mar 2012 23:02:12 +0000 (00:02 +0100)
* lib/math.in.h (remainderl): Undefine macro from the system header.

ChangeLog
lib/math.in.h

index 634e107ff29c262c6daa4a090f0de58f232572f9..7184981ad7ba4c93c7ec9060657695ebd7311011 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-13  Bruno Haible  <bruno@clisp.org>
+
+       remainderl: Avoid compilation error on AIX >= 5.2.
+       * lib/math.in.h (remainderl): Undefine macro from the system header.
+
 2012-03-13  Bruno Haible  <bruno@clisp.org>
 
        Avoid compilation errors with MSVC option -fp:strict.
index 77b325399e12208aaf2ea2214efc47876f8b7359..b53004449438939598488cc6e1ade1b607a68b55 100644 (file)
@@ -1506,6 +1506,7 @@ _GL_FUNCDECL_RPL (remainderl, long double, (long double x, long double y));
 _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));