aboutsummaryrefslogtreecommitdiff
path: root/stdlib/strtold.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtold.c')
-rw-r--r--stdlib/strtold.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/stdlib/strtold.c b/stdlib/strtold.c
index 9747232ef2..32e7e90943 100644
--- a/stdlib/strtold.c
+++ b/stdlib/strtold.c
@@ -3,7 +3,11 @@
#define FLOAT long double
#define FLT LDBL
-#define STRTOF strtold
+#ifdef USE_IN_EXTENDED_LOCALE_MODEL
+# define STRTOF __strtold_l
+#else
+# define STRTOF strtold
+#endif
#define MPN2FLOAT __mpn_construct_long_double
#define FLOAT_HUGE_VAL HUGE_VALL
#define SET_MANTISSA(flt, mant) \