summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/libc/stdlib/strtorx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/strtorx.c b/newlib/libc/stdlib/strtorx.c
index a35dabefe..4faed8542 100644
--- a/newlib/libc/stdlib/strtorx.c
+++ b/newlib/libc/stdlib/strtorx.c
@@ -89,7 +89,7 @@ ULtox(__UShort *L, __ULong *bits, Long exp, int k)
break;
case STRTOG_NaN:
- *((long double*)L) = nanl ("");
+ *((long double*)L) = __builtin_nanl ("");
}
if (k & STRTOG_Neg)
L[_0] |= 0x8000;