From: Bruno Haible Date: Mon, 27 Jul 2009 19:21:02 +0000 (+0200) Subject: Avoid compilation error on QNX. X-Git-Tag: v0.1~5746 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=b598e4850109a959ef3722bf14d917ee608c3794;p=gnulib.git Avoid compilation error on QNX. --- diff --git a/ChangeLog b/ChangeLog index 75ae3a67a..07539f8b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-27 Bruno Haible + + * lib/math.in.h (cosl, logl, sinl): Undefine before declaring it. + Reported by Matt Kraai . + 2009-07-25 Jim Meyering maint.mk: avoid warnings about missing files diff --git a/lib/math.in.h b/lib/math.in.h index 03a3ac24d..1778e6e91 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -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