Jeff Smith whydoubt@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.