[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: advapi32 redefines SECURITY_INFORMATION
From: Nikolay Sivov <bunglehead () gmail ! com>
Date: 2015-02-28 12:41:37
Message-ID: 54F1B781.8080205 () gmail ! com
[Download RAW message or body]
On 28.02.2015 13:33, Francois Gouget wrote:
> ---
>
> So svcctl.idl needs the SECURITY_INFORMATION definition and it's not
> available from any other idl file. This results in this type being
> defined twice when compiling dlls/advapi32/service.c: once in winnt.h
> and then again in dlls/advapi32/svcctl.h.
>
> We normally avoid this type of situation. An easy fix is to introduce
> the usual _XXX_DEFINED macro check but this seems to be a first in an
> idl file. Is there a better way?
>
I think I screwed up it a little, does it work if you place it inside
#if 0, after this:
---
cpp_quote("#if 0 /* already defined in winsvc.h */")
---
I think we only need it for widl, and later advapi32 or services should
include winnt.h in usual way.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic