On 24.02.2025 12:15, LIU Hao wrote:
> diff --git a/mingw-w64-headers/crt/wchar.h b/mingw-w64-headers/crt/wchar.h
> index ca2c1fc70..04818083c 100644
> --- a/mingw-w64-headers/crt/wchar.h
> +++ b/mingw-w64-headers/crt/wchar.h
> @@ -9,6 +9,7 @@
>  #include <corecrt.h>
>  #include <corecrt_stdio_config.h>
>  #include <corecrt_wstdlib.h>
> +#include <wctype.h>


wchar.h ideally should not include wctype.h, I guess that's why those declarations are currently duplicated. MSVC has its stripped version in corecrt_wctype.h, which is included by both wctype.h and wchar.h. I think we should do the same.


Thanks,

Jacek



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to