summaryrefslogtreecommitdiff
path: root/tests/tsqrt_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsqrt_ui.c')
-rw-r--r--tests/tsqrt_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsqrt_ui.c b/tests/tsqrt_ui.c
index 69d475c86..843c11048 100644
--- a/tests/tsqrt_ui.c
+++ b/tests/tsqrt_ui.c
@@ -37,7 +37,7 @@ check (unsigned long a, mp_rnd_t rnd_mode, double Q)
mpfr_t q; double Q2; int u, ck;
mpfr_init2(q, 53);
-#ifdef HAVE_FENV
+#ifdef HAVE_FENV_H
mpfr_set_machine_rnd_mode(rnd_mode);
#endif
mpfr_sqrt_ui(q, a, rnd_mode);
@@ -59,7 +59,7 @@ check (unsigned long a, mp_rnd_t rnd_mode, double Q)
int
main (void)
{
-#ifdef HAVE_FENV
+#ifdef HAVE_FENV_H
int i;
unsigned long a;