Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/machine/riscv/fesetenv.c')
-rw-r--r--newlib/libm/machine/riscv/fesetenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libm/machine/riscv/fesetenv.c b/newlib/libm/machine/riscv/fesetenv.c
index 943b272b7..a752c45d6 100644
--- a/newlib/libm/machine/riscv/fesetenv.c
+++ b/newlib/libm/machine/riscv/fesetenv.c
@@ -32,6 +32,7 @@
*/
#include <fenv.h>
+#include "riscv_math.h"
/* This implementation is intended to comply with the following
* specification:
@@ -54,7 +55,7 @@
int fesetenv(const fenv_t *envp)
{
-#if __riscv_flen
+#ifdef __RISCV_HARD_FLOAT
/* Set environment (FCSR) */