From: Bruno Haible Date: Tue, 13 Mar 2012 23:02:12 +0000 (+0100) Subject: remainderl: Avoid compilation error on AIX >= 5.2. X-Git-Tag: v0.1~832 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=0cb00e5318a340c402d35e185b890ef528f4e9db;p=gnulib.git remainderl: Avoid compilation error on AIX >= 5.2. * lib/math.in.h (remainderl): Undefine macro from the system header. --- diff --git a/ChangeLog b/ChangeLog index 634e107ff..7184981ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2012-03-13 Bruno Haible + remainderl: Avoid compilation error on AIX >= 5.2. + * lib/math.in.h (remainderl): Undefine macro from the system header. + +2012-03-13 Bruno Haible + Avoid compilation errors with MSVC option -fp:strict. * lib/cbrt.c: Use MSVC specific pragma fenv_access. * lib/cbrtf.c: Likewise. diff --git a/lib/math.in.h b/lib/math.in.h index 77b325399..b53004449 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -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));