"Francois Gouget" fgouget@free.fr wrote:
COBJMACROS is very C unfriendly as it requires the caller to define it if it wants to use COM objects. The following check is much better as it does the right thing automagically:
#if !defined (__cplusplus) || defined(CINTERFACE)
So for internal interface, let's use the C friendly check instead of COBJMACROS. This way we'll have fewer '#define COBJMACROS' to sprinkle through the code.
But that change makes Wine code not compilable with SDK and Mingw headers, I don't think it's an acceptable change.