summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mathoms.c b/mathoms.c
index 29dbc571d6..3f541f60ea 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -435,10 +435,11 @@ Perl_printf_nocontext(const char *format, ...)
NV
Perl_huge(void)
{
-# if defined(USE_LONG_DOUBLE) && defined(HUGE_VALL)
+# if defined(USE_LONG_DOUBLE) && defined(HUGE_VALL)
return HUGE_VALL;
-# endif
+# else
return HUGE_VAL;
+# endif
}
#endif