From b92a20b5603bfb7cd7cd775f3ca9099731ac63cf Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 4 Sep 2013 20:47:21 +0000 Subject: conformtest: Fix namespace testing. --- include/complex.h | 2 ++ include/fenv.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/complex.h b/include/complex.h index e173f1f..082e71f 100644 --- a/include/complex.h +++ b/include/complex.h @@ -1,11 +1,13 @@ #ifndef _COMPLEX_H # include +# ifndef _ISOMAC /* Return the complex inverse hyperbolic sine of finite nonzero Z, with the imaginary part of the result subtracted from pi/2 if ADJ is nonzero. */ extern complex float __kernel_casinhf (complex float z, int adj); extern complex double __kernel_casinh (complex double z, int adj); extern complex long double __kernel_casinhl (complex long double z, int adj); +# endif #endif diff --git a/include/fenv.h b/include/fenv.h index 9f90d17..925d4b5 100644 --- a/include/fenv.h +++ b/include/fenv.h @@ -1,8 +1,8 @@ #ifndef _FENV_H #include -#include #ifndef _ISOMAC +# include /* Now define the internal interfaces. */ extern int __feclearexcept (int __excepts); @@ -22,7 +22,6 @@ libm_hidden_proto (feholdexcept) libm_hidden_proto (feupdateenv) libm_hidden_proto (fetestexcept) libm_hidden_proto (feclearexcept) -#endif /* Rounding mode context. This allows functions to set/restore rounding mode only when the desired rounding mode is different from the current rounding @@ -32,5 +31,6 @@ struct rm_ctx fenv_t env; bool updated_status; }; +#endif #endif -- cgit v1.1