On Fri, 1 Oct 2004, Dmitry Timoshkov wrote:
"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.
Do you mean this change in particular (i.e. not using COBJMACROS for protecting internal Wine structures) or the COBJMACROS change in general?
Why would it break compilation with the SDK and Mingw headers?