Functions _wfindfirst32i64 and _wfindnext32i64 are canonical symbol names
which should not be redefined. Instead there are missing macro definitions
for _wfindfirsti64 and _wfindnexti64 functions in header file io.h. Fix it.
In header file wchar.h are macros defined correctly.
---
 mingw-w64-headers/crt/io.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-headers/crt/io.h b/mingw-w64-headers/crt/io.h
index f76fa91e9681..c0b54cca5ac6 100644
--- a/mingw-w64-headers/crt/io.h
+++ b/mingw-w64-headers/crt/io.h
@@ -141,8 +141,8 @@ _CRTIMP char* __cdecl _getcwd (char*, int);
 
 #define _wfindfirst _wfindfirst32
 #define _wfindnext _wfindnext32
-#define _wfindfirst32i64 _wfindfirsti64
-#define _wfindnext32i64 _wfindnexti64
+#define _wfindfirsti64 _wfindfirst32i64
+#define _wfindnexti64 _wfindnext32i64
 #else
 #define _wfinddata_t _wfinddata64i32_t
 #define _wfinddatai64_t _wfinddata64_t
-- 
2.20.1



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

Reply via email to