On Sun, 2003-03-09 at 21:33, Guido Serassio wrote:
> Hi,
> 
> I'have just discovered an object naming conflict on nt branch:
> 
> Windows include file wtypes.h defines this:
> 
> typedef struct _ACL
>      {
>      UCHAR AclRevision;
>      UCHAR Sbz1;
>      USHORT AclSize;
>      USHORT AceCount;
>      USHORT Sbz2;
>      }   ACL;
> 
> typedef ACL *PACL;
> 
> that is conflicting with "ACL" used in Squid.
> 
> This happens on all Windows build environments: Cygwin, MinGW and MS Visual 
> Studio.

Dang. It's just *so hard* with MS polluting the namescape all the time.

If we don't use the windows ACL type, just do this:

#define ACL WindowsACL
#include <windows.h>
#undef ACL

Cheers,
Rob
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to