Alexandre Julliard wrote:
> Francois Gouget <[EMAIL PROTECTED]> writes:
>
> > Here's the testcase I wrote:
> >
> > #define GetObject You cannot use GetObject in this context
> >
> > #define ICOM_FN(xfn) fn ## xfn
> >
> > #define DECLARE1(xfn) void ICOM_FN(xfn) (void);
> > #define DECLARE2(xfn) void ICOM_FN(##xfn) (void);
>
> If the only problem is GetObject and similar functions, couldn't we
> simply #undef GetObject and get rid of ICOM_FN completely? or is there
> a deeper issue?
>
I sent a patch both to Francois and wine-devel that undef'ed GetObject and
then redef'ed it back to its original value. Did the same for GetClassInfo.
It's a hack but at least it has the intended behavior and makes my tree
compile.
-Dave