diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-01-26 20:49:22 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-01-26 20:49:22 +0000 |
commit | 7071ad79db0886c0f17946feea71439400c706a9 (patch) | |
tree | d792b5885c9c4e7caa46456d22bb819598881a7d /math/complex.h | |
parent | 08cf777f9e7f6d826658a99c7d77a359f73a45bf (diff) | |
download | glibc-7071ad79db0886c0f17946feea71439400c706a9.tar.gz glibc-7071ad79db0886c0f17946feea71439400c706a9.tar.xz glibc-7071ad79db0886c0f17946feea71439400c706a9.zip |
Remove __STDC__ conditionals from installed headers.
Diffstat (limited to 'math/complex.h')
-rw-r--r-- | math/complex.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/math/complex.h b/math/complex.h index 9217fddf96..cd48cb9a8d 100644 --- a/math/complex.h +++ b/math/complex.h @@ -82,20 +82,15 @@ __BEGIN_DECLS # define _Mfloat_ float #endif #define _Mdouble_ _Mfloat_ -#ifdef __STDC__ -# define __MATH_PRECNAME(name) name##f -#else -# define __MATH_PRECNAME(name) name/**/f -#endif +#define __MATH_PRECNAME(name) name##f #include <bits/cmathcalls.h> #undef _Mdouble_ #undef __MATH_PRECNAME /* 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 && defined _LIBC) \ - || defined __LDBL_COMPAT) +#if !(defined __NO_LONG_DOUBLE_MATH && defined _LIBC) \ + || defined __LDBL_COMPAT # ifdef __LDBL_COMPAT # undef __MATHDECL_1 # define __MATHDECL_1(type, function, args) \ @@ -106,11 +101,7 @@ __BEGIN_DECLS # define _Mlong_double_ long double # endif # define _Mdouble_ _Mlong_double_ -# ifdef __STDC__ -# define __MATH_PRECNAME(name) name##l -# else -# define __MATH_PRECNAME(name) name/**/l -# endif +# define __MATH_PRECNAME(name) name##l # include <bits/cmathcalls.h> #endif #undef _Mdouble_ |