widl: Do not generate C++ enum typedefs in WinRT mode.
commit86c565cf0e49eed6909ff0dcda78edae31559593
authorRémi Bernon <rbernon@codeweavers.com>
Tue, 25 Jan 2022 09:13:35 +0000 (25 10:13 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 25 Jan 2022 19:50:49 +0000 (25 20:50 +0100)
tree510ee7e3a630b2c54998fac6ecb8d893ecec3ff5
parentc89ce41ec964c4f704bb12c8a8c6ab386372bae9
widl: Do not generate C++ enum typedefs in WinRT mode.

MIDL generates enum typedefs without a prior type declaration, as well
as using explicit enum underlying type specifier. None of this is
supported in MinGW.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
tools/widl/header.c