summaryrefslogtreecommitdiff
path: root/libquadmath/strtod/strtod_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'libquadmath/strtod/strtod_l.c')
-rw-r--r--libquadmath/strtod/strtod_l.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libquadmath/strtod/strtod_l.c b/libquadmath/strtod/strtod_l.c
index 5e3321fd742..cd0c1f2da25 100644
--- a/libquadmath/strtod/strtod_l.c
+++ b/libquadmath/strtod/strtod_l.c
@@ -223,7 +223,7 @@ round_and_return (mp_limb_t *retval, intmax_t exponent, int negative,
}
else if (shift > 0)
{
-#ifdef HAVE_GET_ROUNDING_MODE
+#ifdef HAVE_FENV_H
if (TININESS_AFTER_ROUNDING && shift == 1)
{
/* Whether the result counts as tiny depends on whether,
@@ -279,7 +279,7 @@ round_and_return (mp_limb_t *retval, intmax_t exponent, int negative,
if (exponent > MAX_EXP)
goto overflow;
-#ifdef HAVE_GET_ROUNDING_MODE
+#ifdef HAVE_FENV_H
if (round_away (negative,
(retval[0] & 1) != 0,
(round_limb & (((mp_limb_t) 1) << round_bit)) != 0,