about summary refs log tree commit diff
path: root/wcsmbs/wcstold.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcstold.c')
-rw-r--r--wcsmbs/wcstold.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/wcsmbs/wcstold.c b/wcsmbs/wcstold.c
index 1a3f0d2c6e..1c7cc6527f 100644
--- a/wcsmbs/wcstold.c
+++ b/wcsmbs/wcstold.c
@@ -23,7 +23,11 @@
 
 #define	FLOAT		long double
 #define	FLT		LDBL
-#define	STRTOF		wcstold
+#ifdef USE_IN_EXTENDED_LOCALE_MODEL
+# define STRTOF		__wcstold_l
+#else
+# define STRTOF		wcstold
+#endif
 #define	MPN2FLOAT	__mpn_construct_long_double
 #define	FLOAT_HUGE_VAL	HUGE_VALL
 #define	USE_WIDE_CHAR	1