Re: [PATCH] Removed #ifndef _ARM_PCS_VFP_ from sys/fenv.h for arm

Szabolcs Nagy <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
The 07/04/2020 04:11, Eshan dhawan via Newlib wrote:
> Signed-off-by: Eshan dhawan <[email protected]>
> ---
>  newlib/libc/machine/arm/sys/fenv.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/newlib/libc/machine/arm/sys/fenv.h b/newlib/libc/machine/arm/sys/fenv.h
> index af74c5f47..740995a1a 100644
> --- a/newlib/libc/machine/arm/sys/fenv.h
> +++ b/newlib/libc/machine/arm/sys/fenv.h
> @@ -94,7 +94,7 @@ extern const fenv_t	*_fe_dfl_env;
>  #define	_ENABLE_MASK	(FE_ALL_EXCEPT << _FPUSW_SHIFT)
>  #endif
>  
> -#ifndef __ARM_PCS_VFP
> +
>  
>  int feclearexcept(int excepts);
>  int fegetexceptflag(fexcept_t *flagp, int excepts);
> @@ -113,7 +113,7 @@ int fedisableexcept(int __mask);
>  int fegetexcept(void);
>  #endif /* __BSD_VISIBLE */
>  
> -#endif	/* __ARM_PCS_VFP */
> +
>  
>  #ifdef __cplusplus
>  }

thanks this fixes the build issue i see.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.