[PATCH] include: Define the _STGMEDIUM_UNION type for C++ only. (original) (raw)
Alexandre Julliard julliard at winehq.org
Thu Dec 19 15:57:24 CST 2019
- Previous message (by thread): [PATCH] include: Define the _STGMEDIUM_UNION type for C++ only.
- Next message (by thread): [PATCH] configure: Don't check for gssapi-krb5 if krb5 is missing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeff Smith <whydoubt at gmail.com> writes:
@@ -1426,8 +1426,14 @@ interface IAdviseSink : IUnknown default: wireHGLOBAL hGeneric; } GDIOBJECT;
+ /* Defining the STGMEDIUMUNION type yields a violation of the C spec when + * NONAMELESSUNION is not defined, so only define it for C++. */ _+ cppquote("#ifndef cplusplus") + cppquote("#define STGMEDIUMUNION") + cppquote("#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 at winehq.org
- Previous message (by thread): [PATCH] include: Define the _STGMEDIUM_UNION type for C++ only.
- Next message (by thread): [PATCH] configure: Don't check for gssapi-krb5 if krb5 is missing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]