From cecd03130894af60bd00c5de63d91e26b9813df8 Mon Sep 17 00:00:00 2001 From: Maxim Karasev Date: Fri, 7 Jul 2023 18:51:40 +0300 Subject: [PATCH] include: Update _SECURITY_INTEGER. In Windows it works that way. --- include/sspi.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/sspi.h b/include/sspi.h index e2da48cd720..6d7ea5a5ef2 100644 --- a/include/sspi.h +++ b/include/sspi.h @@ -69,11 +69,16 @@ typedef SecHandle CtxtHandle; typedef PSecHandle PCtxtHandle; #endif +#if defined(_NTDEF_) || defined(_WINNT_) +typedef LARGE_INTEGER _SECURITY_INTEGER, SECURITY_INTEGER,*PSECURITY_INTEGER; +#else typedef struct _SECURITY_INTEGER { ULONG LowPart; LONG HighPart; } SECURITY_INTEGER, *PSECURITY_INTEGER; +#endif + typedef SECURITY_INTEGER TimeStamp, *PTimeStamp; #ifndef __UNICODE_STRING_DEFINED__