[PATCH] Removed #ifndef _ARM_PCS_VFP_ from sys/fenv.h for arm
Szabolcs Nagy
szabolcs.nagy@arm.com
Mon Jul 6 09:06:20 GMT 2020
The 07/04/2020 04:11, Eshan dhawan via Newlib wrote:
> Signed-off-by: Eshan dhawan <eshandhawan51@gmail.com>
> ---
> 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.
More information about the Newlib
mailing list