---
 mingw-w64-headers/crt/stdlib.h | 1 +
 mingw-w64-headers/crt/tchar.h  | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/mingw-w64-headers/crt/stdlib.h b/mingw-w64-headers/crt/stdlib.h
index e3b5499e..59b51e80 100644
--- a/mingw-w64-headers/crt/stdlib.h
+++ b/mingw-w64-headers/crt/stdlib.h
@@ -515,6 +515,7 @@ float __cdecl __MINGW_NOTHROW strtof(const char * 
__restrict__ _Str,char ** __re
   double __cdecl __mingw_strtod (const char * __restrict__, char ** 
__restrict__);
   long double __cdecl __mingw_strtold(const char * __restrict__, char ** 
__restrict__);
 #endif /* __NO_ISOCEXT */
+  _CRTIMP float __cdecl _strtof_l(const char * __restrict__ _Str,char ** 
__restrict__ _EndPtr,_locale_t _Locale);
   _CRTIMP double __cdecl _strtod_l(const char * __restrict__ _Str,char ** 
__restrict__ _EndPtr,_locale_t _Locale);
   long __cdecl strtol(const char * __restrict__ _Str,char ** __restrict__ 
_EndPtr,int _Radix);
   _CRTIMP long __cdecl _strtol_l(const char * __restrict__ _Str,char ** 
__restrict__ _EndPtr,int _Radix,_locale_t _Locale);
diff --git a/mingw-w64-headers/crt/tchar.h b/mingw-w64-headers/crt/tchar.h
index 9fa2a030..5ae9479c 100644
--- a/mingw-w64-headers/crt/tchar.h
+++ b/mingw-w64-headers/crt/tchar.h
@@ -209,6 +209,7 @@ extern "C" {
 #define _ungettc ungetwc
 #define _ungettch _ungetwch
 
+#define _tcstof wcstof
 #define _tcstod wcstod
 #define _tcstol wcstol
 #define _tcstoul wcstoul
@@ -218,6 +219,7 @@ extern "C" {
 #define _tstol _wtol
 #define _tstoi _wtoi
 #define _tstoi64 _wtoi64
+#define _tcstof_l _wcstof_l
 #define _tcstod_l _wcstod_l
 #define _tcstol_l _wcstol_l
 #define _tcstoul_l _wcstoul_l
@@ -573,6 +575,7 @@ extern "C" {
 #define _ungettc ungetc
 #define _ungettch _ungetch
 
+#define _tcstof strtof
 #define _tcstod strtod
 #define _tcstol strtol
 #define _tcstoul strtoul
@@ -580,6 +583,7 @@ extern "C" {
 #define _tstol atol
 #define _tstoi atoi
 #define _tstoi64 _atoi64
+#define _tcstof_l _strtof_l
 #define _tcstod_l _strtod_l
 #define _tcstol_l _strtol_l
 #define _tcstoul_l _strtoul_l
-- 
2.38.1



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to