From 3bebb94360f1c2333feb8d504a9fa4f96984d8b7 Mon Sep 17 00:00:00 2001 From: Andreas Rottmann Date: Mon, 14 Sep 2009 12:34:37 +0200 Subject: Imported Upstream version 0.9.1.1 --- lib/math.in.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/math.in.h') diff --git a/lib/math.in.h b/lib/math.in.h index efca0f0b..d4940515 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -148,7 +148,8 @@ extern long double ceill (long double x); #endif -#if @GNULIB_MATHL@ || !@HAVE_DECL_COSL@ +#if @GNULIB_MATHL@ || (!@HAVE_DECL_COSL@ && !defined cosl) +# undef cosl extern long double cosl (long double x); #endif #if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK @@ -237,7 +238,8 @@ extern long double ldexpl (long double x, int exp); #endif -#if @GNULIB_MATHL@ || !@HAVE_DECL_LOGL@ +#if @GNULIB_MATHL@ || (!@HAVE_DECL_LOGL@ && !defined logl) +# undef logl extern long double logl (long double x); #endif #if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK @@ -292,7 +294,8 @@ extern long double roundl (long double x); #endif -#if @GNULIB_MATHL@ || !@HAVE_DECL_SINL@ +#if @GNULIB_MATHL@ || (!@HAVE_DECL_SINL@ && !defined sinl) +# undef sinl extern long double sinl (long double x); #endif #if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK -- cgit v1.2.3