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/fegetenv.c')
-rw-r--r--newlib/libm/machine/riscv/fegetenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libm/machine/riscv/fegetenv.c b/newlib/libm/machine/riscv/fegetenv.c
index c1488c789..10a9af337 100644
--- a/newlib/libm/machine/riscv/fegetenv.c
+++ b/newlib/libm/machine/riscv/fegetenv.c
@@ -32,6 +32,7 @@
*/
#include <fenv.h>
+#include "riscv_math.h"
/* This implementation is intended to comply with the following
* specification:
@@ -47,7 +48,7 @@
int fegetenv(fenv_t *envp)
{
-#if __riscv_flen
+#if __RISCV_HARD_FLOAT
/* Get the current environment (FCSR) */