在 2026-9-1 22:39, Zhongteng Gui 写道:
 From a90e095d88df6e543372f6b8a7953fa6656be8af Mon Sep 17 00:00:00 2001
From: Zhongteng Gui <[email protected]>
Date: Sat, 29 Aug 2026 23:09:59 +0800
Subject: [PATCH] headers: crt: split out corecrt_malloc.h

memalignment is kept in stdlib.h, as this is part of ISO C23, and MSVC
doesn't provide it.

Also removes _CRT_ALLOCATION_DEFINED.

Signed-off-by: Zhongteng Gui <[email protected]>
---
  mingw-w64-headers/crt/corecrt_malloc.h | 76 ++++++++++++++++++++++++++
  mingw-w64-headers/crt/malloc.h         | 67 +----------------------
  mingw-w64-headers/crt/stdlib.h         | 65 +---------------------
  3 files changed, 78 insertions(+), 130 deletions(-)
  create mode 100644 mingw-w64-headers/crt/corecrt_malloc.h


Thanks. Pushed now.



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