Avoid compilation error on QNX.
authorBruno Haible <bruno@clisp.org>
Mon, 27 Jul 2009 19:21:02 +0000 (21:21 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 27 Jul 2009 19:21:02 +0000 (21:21 +0200)
ChangeLog
lib/math.in.h

index 75ae3a67a933b72b53f8d1b40e998127c0ef4fb2..07539f8b3644d2a9e782c19df93701a47f169afe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/math.in.h (cosl, logl, sinl): Undefine before declaring it.
+       Reported by Matt Kraai <mkraai@beckman.com>.
+
 2009-07-25  Jim Meyering  <meyering@redhat.com>
 
        maint.mk: avoid warnings about missing files
index 03a3ac24d4b47f262c62ce11a445dca45e10902c..1778e6e9187a63d7e663b830721e5302ce3ba2a3 100644 (file)
@@ -149,6 +149,7 @@ extern long double ceill (long double x);
 
 
 #if @GNULIB_MATHL@ || (!@HAVE_DECL_COSL@ && !defined cosl)
+# undef cosl
 extern long double cosl (long double x);
 #endif
 #if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK
@@ -238,6 +239,7 @@ extern long double ldexpl (long double x, int exp);
 
 
 #if @GNULIB_MATHL@ || (!@HAVE_DECL_LOGL@ && !defined logl)
+# undef logl
 extern long double logl (long double x);
 #endif
 #if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK
@@ -293,6 +295,7 @@ extern long double roundl (long double x);
 
 
 #if @GNULIB_MATHL@ || (!@HAVE_DECL_SINL@ && !defined sinl)
+# undef sinl
 extern long double sinl (long double x);
 #endif
 #if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK