Thanks for the patch :)

On 2/11/2022 6:48, L. E. Segovia via Mingw-w64-public wrote:
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
`_wcstof_l` isn't currently declared in `stdlib.h` and `wchar.h`, so you'll need to add it too.



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

Reply via email to