From 7bc9aebe260dad2275aa05cd737b07bd1a9320fe Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Thu, 21 May 2026 14:58:39 +0000 Subject: [PATCH] headers: Add SE_SID in winnt.h
Required for https://bugzilla.mozilla.org/show_bug.cgi?id=2041254 Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-headers/include/winnt.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mingw-w64-headers/include/winnt.h b/mingw-w64-headers/include/winnt.h index d094e075fc10..3cbe62312251 100644 --- a/mingw-w64-headers/include/winnt.h +++ b/mingw-w64-headers/include/winnt.h @@ -3221,6 +3221,12 @@ __buildmemorybarrier() #define SID_RECOMMENDED_SUB_AUTHORITIES (1) #ifndef __WIDL__ #define SECURITY_MAX_SID_SIZE (sizeof (SID) - sizeof (DWORD) + (SID_MAX_SUB_AUTHORITIES *sizeof (DWORD))) + + typedef union _SE_SID { + SID Sid; + BYTE Buffer[SECURITY_MAX_SID_SIZE]; + } SE_SID, *PSE_SID; + #endif #define SID_HASH_SIZE 32 -- 2.54.0
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
