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 634e107..7184981 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
        * lib/cbrt.c: Use MSVC specific pragma fenv_access.
        * lib/cbrtf.c: Likewise.
index 77b3253..b530044 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));