summaryrefslogtreecommitdiff
path: root/stdlib/strtof.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtof.c')
-rw-r--r--stdlib/strtof.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/stdlib/strtof.c b/stdlib/strtof.c
index 026b5eead3..9d070279f8 100644
--- a/stdlib/strtof.c
+++ b/stdlib/strtof.c
@@ -3,7 +3,11 @@
#define FLOAT float
#define FLT FLT
-#define STRTOF strtof
+#ifdef USE_IN_EXTENDED_LOCALE_MODEL
+# define STRTOF __strtof_l
+#else
+# define STRTOF strtof
+#endif
#define MPN2FLOAT __mpn_construct_float
#define FLOAT_HUGE_VAL HUGE_VALF
#define SET_MANTISSA(flt, mant) \