From feeb0301b31a5ad4ea0594b17e4720bbe3308a3b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 3 Oct 2008 14:24:28 +0000 Subject: - add long double math wrappers (Ned Ludd) --- include/complex.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/complex.h') diff --git a/include/complex.h b/include/complex.h index f005a9391..94fb6ea44 100644 --- a/include/complex.h +++ b/include/complex.h @@ -62,7 +62,7 @@ __BEGIN_DECLS #define __MATHDECL_1(type, function, args) \ extern type __MATH_PRECNAME(function) args __THROW -#define _Mdouble_ double +#define _Mdouble_ double #define __MATH_PRECNAME(name) name #include #undef _Mdouble_ @@ -72,7 +72,7 @@ __BEGIN_DECLS #ifndef _Mfloat_ # define _Mfloat_ float #endif -#define _Mdouble_ _Mfloat_ +#define _Mdouble_ _Mfloat_ #ifdef __STDC__ # define __MATH_PRECNAME(name) name##f #else @@ -84,11 +84,11 @@ __BEGIN_DECLS /* And the long double versions. It is non-critical to define them here unconditionally since `long double' is required in ISO C99. */ -#if __STDC__ - 0 || __GNUC__ - 0 && !defined __NO_LONG_DOUBLE_MATH +#if __STDC__ - 0 || __GNUC__ - 0 && defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ # ifndef _Mlong_double_ # define _Mlong_double_ long double # endif -# define _Mdouble_ _Mlong_double_ +# define _Mdouble_ _Mlong_double_ # ifdef __STDC__ # define __MATH_PRECNAME(name) name##l # else -- cgit v1.2.3