diff options
Diffstat (limited to 'newlib/libm/machine/riscv/feclearexcept.c')
-rw-r--r-- | newlib/libm/machine/riscv/feclearexcept.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libm/machine/riscv/feclearexcept.c b/newlib/libm/machine/riscv/feclearexcept.c index 90c7775a4..e236a59eb 100644 --- a/newlib/libm/machine/riscv/feclearexcept.c +++ b/newlib/libm/machine/riscv/feclearexcept.c @@ -33,6 +33,7 @@ #include <fenv.h> #include <stddef.h> +#include "riscv_math.h" /* This implementation is intended to comply with the following * specification: @@ -47,7 +48,7 @@ int feclearexcept(int excepts) { -#if __riscv_flen +#if __RISCV_HARD_FLOAT /* Mask excepts to be sure only supported flag bits are set */ |