changeset 13164:05d5602815b8

frexpl: Fix a C++ test error on Solaris 8 and Cygwin.
author Bruno Haible <bruno@clisp.org>
date Mon, 05 Apr 2010 15:58:34 +0200
parents 41cfcaa76b56
children 59d210905a32
files ChangeLog lib/math.in.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	vasprintf: Update documentation.
--- a/lib/math.in.h
+++ b/lib/math.in.h
@@ -322,7 +322,7 @@
 _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