Am 22.01.2026 um 04:22 schrieb LIU Hao:
diff --git a/mingw-w64-headers/crt/_mingw.h.in
b/mingw-w64-headers/crt/_mingw.h.in
index c113c29c6..5d759e2b5 100644
--- a/mingw-w64-headers/crt/_mingw.h.in
+++ b/mingw-w64-headers/crt/_mingw.h.in
@@ -681,8 +681,8 @@ const char *__mingw_get_crt_info (void);
#define __STDC_SECURE_LIB__ 200411L
#define __GOT_SECURE_LIB__ __STDC_SECURE_LIB__
-#ifndef __WIDL__
-#include "sdks/_mingw_ddk.h"
+#if @MINGW_HAS_DDK@
+#define MINGW_HAS_DDK_H 1
#endif
#endif /* MINGW_SDK_INIT */
To be honest, I don't know how `__WIDL__` is used. Can it disappear from
here entirely without functional changes?
Should the preprocessor condition instead be the following?
#if @MINGW_HAS_DDK@ && ! defined(__WIDL__)
Markus
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public