[WIDL] Sync with Wine Staging 3.3. CORE-14434

This commit is contained in:
Amine Khaldi 2018-04-11 12:29:04 +01:00
parent 6cbd6bd3ce
commit 8296d6c1ef
14 changed files with 479 additions and 94 deletions

View file

@ -1936,7 +1936,7 @@ static type_t *reg_typedefs(decl_spec_t *decl_spec, declarator_list_t *decls, at
type->attrs = attrs;
}
#ifdef __REACTOS__
#ifdef __REACTOS__ /* r53187 / 5bf224e */
/* Append the SWITCHTYPE attribute to a non-encapsulated union if it does not already have it. */
if (type_get_type_detect_alias(type) == TYPE_UNION &&
is_attr(attrs, ATTR_SWITCHTYPE) &&