[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module 'remainderl'
From: |
Bruno Haible |
Subject: |
Re: new module 'remainderl' |
Date: |
Wed, 14 Mar 2012 00:02:28 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
> 2012-02-25 Bruno Haible <address@hidden>
>
> New module 'remainderl'.
> * lib/math.in.h (remainderh): New declaration.
> * lib/remainderl.c: New file.
> * m4/remainderl.m4: New file.
> * modules/remainderl: New file.
> * m4/math_h.m4 (gl_MATH_H): Test whether remainderl is declared.
> (gl_MATH_H_DEFAULTS): Initialize GNULIB_REMAINDERL, HAVE_REMAINDERL.
> * modules/math (Makefile.am): Substitute GNULIB_REMAINDERL,
> HAVE_REMAINDERL.
> * doc/posix-functions/remainderl.texi: Mention the new module.
This needs a fix on AIX >= 5.2, where remainderl() is defined as a macro.
2012-03-13 Bruno Haible <address@hidden>
remainderl: Avoid compilation error on AIX >= 5.2.
* lib/math.in.h (remainderl): Undefine macro from the system header.
--- lib/math.in.h.orig Tue Mar 13 23:59:47 2012
+++ lib/math.in.h Tue Mar 13 23:59:41 2012
@@ -1506,6 +1506,7 @@
_GL_CXXALIAS_RPL (remainderl, long double, (long double x, long double y));
# else
# if address@hidden@
+# 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));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: new module 'remainderl',
Bruno Haible <=