COBJMACROS patch 3

Dmitry Timoshkov dmitry at baikal.ru
Thu Sep 30 22:21:15 CDT 2004


"Francois Gouget" <fgouget at 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.

-- 
Dmitry.




More information about the wine-devel mailing list