[PATCH] include: Protect _SECURITY_ATTRIBUTES from being defined twice
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Sun Jan 17 18:38:06 CST 2021
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.
More information about the wine-devel
mailing list