在 2025-9-24 16:50, Pali Rohár 写道:
On Wednesday 24 September 2025 10:34:19 LIU Hao wrote:在 2025-9-1 00:39, Pali Rohár 写道:struct threadlocaleinfostruct was introduced in msvcr70.dll and in each msvcrt version it was slightly updated. Fix this structure in corecrt.h header file to match the binary ABI of the msvcrt version which is used to compile current object file according to __MSVCRT_VERSION__ and _UCRT macros.UCRT renamed few members and for source file compatibility use anonymous union for accessing both the old msvcrt name and new UCRT name. --- mingw-w64-headers/crt/corecrt.h | 35 +++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-)Do you have a UCRT definition that is publicly available somewhere?I found it in UCRT file src/ucrt/inc/corecrt_internal.h named as: typedef struct __crt_locale_data
Yes but that's not a public header. The current declaration matches `__crt_locale_data_public` in corecrt.h.We probably don't want to expose too many details beneath that. For example, I don't think it makes any sense to add an alias 'for compatiblity with msvcrt field name', because no MSVCRT code should be compiled with a UCRT definition, and vice versa.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public