On Wed, 27 Nov 2024, Pali Rohár wrote:
msvc compiler for msvcrt and ucrt debug builds declare debug CRT function
when _DEBUG macro is defined. All those functions and macros are defined in
crtdbg.h include file. Do same in mingw-w64 headers.
This allows applications to be compiled with gcc's -mcrtdll=msvcrtd and
-D_DEBUG switches and to use debug functions.
---
mingw-w64-headers/crt/crtdbg.h | 180 +++++++++++++++++++++++++++++++++
1 file changed, 180 insertions(+)
This patch seems ok to me.
// Martin
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public