summaryrefslogtreecommitdiff
path: root/libm/nan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/nan.c')
-rw-r--r--libm/nan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/nan.c b/libm/nan.c
index ec221ea71..eee3b1cc4 100644
--- a/libm/nan.c
+++ b/libm/nan.c
@@ -45,7 +45,7 @@ float nanf (const char *tagp)
}
libm_hidden_def(nanf)
-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
+#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __NO_LONG_DOUBLE_MATH
libm_hidden_proto(nanl)
long double nanl (const char *tagp)
{