Change for compiling as wcstof_l.c
authordrepper <drepper>
Sat, 24 May 1997 02:25:15 +0000 (02:25 +0000)
committerdrepper <drepper>
Sat, 24 May 1997 02:25:15 +0000 (02:25 +0000)
wcsmbs/wcstof.c

index f410e4c..38cd95a 100644 (file)
    These macros tell it to produce the `float' version, `wcstof'.  */
 
 #define        FLOAT           float
-#define        FLT             LDBL
-#define        STRTOF          wcstof
+#define        FLT             FLT
+#ifdef USE_IN_EXTENDED_LOCALE_MODEL
+# define STRTOF                __wcstof_l
+#else
+# define STRTOF                wcstof
+#endif
 #define        MPN2FLOAT       __mpn_construct_float
 #define        FLOAT_HUGE_VAL  HUGE_VALF
 #define        USE_WIDE_CHAR   1