[PATCH 0/1] MR6501: include: Avoid leaking __need_wint_t/__need_wchar_t macros.
From: Rémi Bernon <rbernon(a)codeweavers.com> --- include/msvcrt/stdint.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/msvcrt/stdint.h b/include/msvcrt/stdint.h index b6dc5cb0b5c..f5e493c2dd9 100644 --- a/include/msvcrt/stdint.h +++ b/include/msvcrt/stdint.h @@ -30,6 +30,8 @@ #define __need_wint_t #define __need_wchar_t #include <stddef.h> +#undef __need_wint_t +#undef __need_wchar_t /* 7.18.1.1 Exact-width integer types */ typedef signed char int8_t; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6501
Fwiw the macro leak breaks LLVM libc++ compilation. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6501#note_82370
Do we actually need these defines in the first place? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6501#note_82373
participants (2)
-
Alexandre Julliard (@julliard) -
Rémi Bernon