From 434a1ae570e0498f0fdcbc33ff4f6d267603e85b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 5 Apr 2010 15:58:34 +0200 Subject: [PATCH] frexpl: Fix a C++ test error on Solaris 8 and Cygwin. --- ChangeLog | 5 +++++ lib/math.in.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3bdea5405..bf6e41414 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-04-05 Bruno Haible + frexpl: Fix a C++ test error on Solaris 8 and Cygwin. + * lib/math.in.h (frexpl): Fix condition on _GL_CXXALIASWARN invocation. + +2010-04-05 Bruno Haible + vasprintf: Update documentation. * doc/glibc-functions/asprintf.texi: Mention the 'vasprintf' module. diff --git a/lib/math.in.h b/lib/math.in.h index 86fcf0898..fbc29184f 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -322,7 +322,7 @@ _GL_FUNCDECL_SYS (frexpl, long double, _GL_CXXALIAS_SYS (frexpl, long double, (long double x, int *expptr)); # endif #endif -#if @GNULIB_FREXPL@ +#if @GNULIB_FREXPL@ && !(@REPLACE_FREXPL@ && !@HAVE_DECL_FREXPL@) _GL_CXXALIASWARN (frexpl); #endif #if !@GNULIB_FREXPL@ && defined GNULIB_POSIXCHECK -- 2.11.0