dsound: Fixed compilation error caused by 942f2ce7

Alexander E. Patrakov patrakov at gmail.com
Sat May 19 10:41:53 CDT 2012


2012/5/19 Jacek Caban <jacek at codeweavers.com>:
> Hi Alexander,
>
>
> On 5/19/12 3:35 PM, Alexander E. Patrakov wrote:
>>
>> There is no dummy union u anymore.
>>
>
> This doesn't seem right. They are still present, just generated by widl.
>
> Jacek

On my system, the generated propidl.h file contains this:

struct tagPROPVARIANT {

    VARTYPE vt;
    WORD wReserved1;
    WORD wReserved2;
    WORD wReserved3;
    __C89_NAMELESS union {
/* lots of fields */
    } __C89_NAMELESSUNIONNAME;
};

So indeed, my patch is wrong, it should use __C89_NAMELESSUNIONNAME
(which expands to nothing here) instead of nothing. Please reject it.

-- 
Alexander E. Patrakov



More information about the wine-devel mailing list