在 2026-8-15 23:03, Zhongteng Gui 写道:
This commit removes following duplicate macros and/or typedefs:
1. _USE_32BIT_TIME_T
2. _TIME32_T_DEFINED
3. _TIME64_T_DEFINED
4. _TIME_T_DEFINED
5. _WCHAR_T_DEFINED
6. _CRTIMP

2-5 are defined in <corecrt.h>, 1 and 6 are defined in <_mingw.h>.
All guard macros in <corecrt.h> and <_mingw.h> are kept, as these macros
may be pre-defined by user code or other headers.

Signed-off-by: Zhongteng Gui <[email protected]>
---
  mingw-w64-headers/crt/sys/stat.h              | 35 -------------------
  mingw-w64-headers/crt/sys/timeb.h             | 29 ---------------
  mingw-w64-headers/crt/sys/types.h             | 26 --------------
  mingw-w64-headers/crt/sys/utime.h             | 34 ------------------
  mingw-w64-headers/crt/time.h                  | 28 ---------------
  mingw-w64-headers/ddk/include/ddk/ntstrsafe.h |  5 ---
  mingw-w64-headers/include/basetyps.h          |  5 ---
  mingw-w64-headers/include/dbt.h               |  5 ---
  mingw-w64-headers/include/rpcndr.h            |  5 ---
  mingw-w64-headers/include/rtcapi.h            |  5 ---
  mingw-w64-headers/include/strsafe.h           |  5 ---
  11 files changed, 182 deletions(-)


This patch looks good to me, so pushed.



--
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