在 2026-8-15 23:55, Zhongteng Gui 写道:
This commit removes following duplicate macros and/or typedefs:
1. _SIZE_T_DEFINED
2. _SSIZE_T_DEFINED
3. _WCTYPE_T_DEFINED

All are defined in <corecrt.h>. Note that <stddef.h> is not modified
here because it's much more complicated.

Also slightly simplified <tchar.h> by removing unnecessary
_CRT_BEGIN_C_HEADER and _CRT_END_C_HEADER macros.

Signed-off-by: Zhongteng Gui <[email protected]>
---
  mingw-w64-headers/crt/tchar.h                 | 30 ++++---------------
  mingw-w64-headers/crt/time.h                  | 20 -------------
  mingw-w64-headers/ddk/include/ddk/ntstrsafe.h | 10 -------
  mingw-w64-headers/include/rpcndr.h            | 20 -------------
  mingw-w64-headers/include/strsafe.h           | 20 -------------
  5 files changed, 6 insertions(+), 94 deletions(-)

This patch looks good to me, so pushed.

As for stddef.h: The part that follows `#endif /* _INC_STDDEF */` is a copy of GCC's stddef.h and has not been kept up to date for some time. It may be updated or re-organized.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

Reply via email to