[PATCH] include: Protect _SECURITY_ATTRIBUTES from being defined twice

Zebediah Figura (she/her) zfigura at codeweavers.com
Sun Jan 17 18:42:07 CST 2021


On 1/17/21 6:38 PM, Alistair Leslie-Hughes wrote:
> 
> 
> On 18/1/21 11:29 am, Zebediah Figura (she/her) wrote:
>> On 1/17/21 6:20 PM, Alistair Leslie-Hughes wrote:
>>>
>>>
>>> On 18/1/21 9:17 am, Zebediah Figura (she/her) wrote:
>>>>
>>>> How can this be defined twice? As far as I can see, it's defined in
>>>> winbase.h and wtypes.idl, but the latter only defines it for the IDL
>>>> compiler.
>>>>
>>> I was compiling something locally which already had this defined.  The
>>> windows headers actually protect this structure in the same way.
>>
>> I see protection in wtypes.idl, but not in winbase.h. That's with a
>> Windows 10 SDK, though I don't know what version...
>>
> 
> In SDK 10.0.17763.0, WTypesbase.Idl has it protected and it's not
> defined in winbase.h. Defined minwinbase.h and not protected.

Right, that matches what I see.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210117/b76cce63/attachment-0001.sig>


More information about the wine-devel mailing list