On Sat, 29 Aug 2026, LIU Hao wrote:
在 2026-8-29 00:23, Martin Storsjö 写道:
Signed-off-by: Martin Storsjö <[email protected]>
---
v2: Missed the instance in the first alias.
---
mingw-w64-crt/stdio/_wfindfirst32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mingw-w64-crt/stdio/_wfindfirst32.c
b/mingw-w64-crt/stdio/_wfindfirst32.c
index e6038ebd5..614fe365e 100644
--- a/mingw-w64-crt/stdio/_wfindfirst32.c
+++ b/mingw-w64-crt/stdio/_wfindfirst32.c
@@ -22,7 +22,7 @@ intptr_t (__cdecl
*__MINGW_IMP_SYMBOL(_wfindfirst32))(const wchar_t *, struct _w
#ifndef _WIN64
#undef _wfindfirst
PRAGMA_DIAGNOSTIC_IGNORED_ATTRIBUTE_ALIAS_BEGIN
-intptr_t __attribute__ ((alias ("_wfindfirst32"))) __cdecl
_wfindfirst(const char *, struct _wfinddata32_t *);
-extern intptr_t __attribute__ ((alias
(__MINGW64_STRINGIFY(__MINGW_IMP_SYMBOL(_wfindfirst32))))) (__cdecl
*__MINGW_IMP_SYMBOL(_wfindfirst))(const char *, struct _wfinddata32_t *);
+intptr_t __attribute__ ((alias ("_wfindfirst32"))) __cdecl
_wfindfirst(const wchar_t *, struct _wfinddata32_t *);
+extern intptr_t __attribute__ ((alias
(__MINGW64_STRINGIFY(__MINGW_IMP_SYMBOL(_wfindfirst32))))) (__cdecl
*__MINGW_IMP_SYMBOL(_wfindfirst))(const wchar_t *, struct _wfinddata32_t
*);
PRAGMA_DIAGNOSTIC_IGNORED_ATTRIBUTE_ALIAS_END
#endif
LGTM.
Thanks, pushed this one now as well.
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public