19 Dec
2019
19 Dec
'19
9:57 p.m.
Jeff Smith <whydoubt(a)gmail.com> writes:
@@ -1426,8 +1426,14 @@ interface IAdviseSink : IUnknown default: wireHGLOBAL hGeneric; } GDI_OBJECT;
+ /* Defining the _STGMEDIUM_UNION type yields a violation of the C spec when + * NONAMELESSUNION is not defined, so only define it for C++. */ + cpp_quote("#ifndef __cplusplus") + cpp_quote("#define _STGMEDIUM_UNION") + cpp_quote("#endif")
You may want to make this conditional on NONAMELESSUNION then. This way there's an easy way to get the definition if necessary. -- Alexandre Julliard julliard(a)winehq.org