Commit d1696ff5 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

include: Take care to not declare CtxtHandle and PCtxtHandle more than once when…

include: Take care to not declare CtxtHandle and PCtxtHandle more than once when including both sspi.h and wincred.h.
parent 6b213042
...@@ -63,8 +63,11 @@ typedef struct _SecHandle ...@@ -63,8 +63,11 @@ typedef struct _SecHandle
typedef SecHandle CredHandle; typedef SecHandle CredHandle;
typedef PSecHandle PCredHandle; typedef PSecHandle PCredHandle;
#ifndef __WINE_CTXTHANDLE_DEFINED__
#define __WINE_CTXTHANDLE_DEFINED__
typedef SecHandle CtxtHandle; typedef SecHandle CtxtHandle;
typedef PSecHandle PCtxtHandle; typedef PSecHandle PCtxtHandle;
#endif
typedef struct _SECURITY_INTEGER typedef struct _SECURITY_INTEGER
{ {
......
...@@ -32,8 +32,11 @@ typedef struct _SecHandle ...@@ -32,8 +32,11 @@ typedef struct _SecHandle
} SecHandle, *PSecHandle; } SecHandle, *PSecHandle;
#endif #endif
#ifndef __WINE_CTXTHANDLE_DEFINED__
#define __WINE_CTXTHANDLE_DEFINED__
typedef SecHandle CtxtHandle; typedef SecHandle CtxtHandle;
typedef PSecHandle PCtxtHandle; typedef PSecHandle PCtxtHandle;
#endif
typedef struct _CREDENTIAL_ATTRIBUTEA typedef struct _CREDENTIAL_ATTRIBUTEA
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment