在 2022-11-17 23:01, Pali Rohár 写道:
Usage of _TCHAR/_tmain/_tcslen simplify code as it avoids #ifdef.Note that custom mingw-w64 wbytelen() function is replaced by 'sizeof(_TCHAR) * (_tcslen() + 1)' construction which expands to 2*(wcslen()+1) for unicode build. --- mingw-w64-crt/crt/crtexe.c | 55 +++++++------------------------------- 1 file changed, 9 insertions(+), 46 deletions(-)
These patches good to me. Pushed to master now. Thanks for the work. -- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
