From 9c22184e3c38953ece2119b4fb1f633798e270d4 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Sat, 27 Feb 2010 12:04:42 +0000 Subject: [PATCH] Extend unnamed union/struct by __GNU_EXTENSION in wdm.h svn path=/branches/header-work/; revision=45693 --- include/ddk/wdm.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index b15bea4b1cd..f3f40d7aebe 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -221,7 +221,7 @@ typedef struct _CM_PARTIAL_RESOURCE_DESCRIPTOR { } Interrupt; #if (NTDDI_VERSION >= NTDDI_LONGHORN) struct { - union { + __GNU_EXTENSION union { struct { USHORT Reserved; USHORT MessageCount; @@ -1073,22 +1073,22 @@ InterlockedPushEntrySList( typedef struct _DISPATCHER_HEADER { - union + __GNU_EXTENSION union { - struct + __GNU_EXTENSION struct { UCHAR Type; - union + __GNU_EXTENSION union { UCHAR Absolute; UCHAR NpxIrql; }; - union + __GNU_EXTENSION union { UCHAR Size; UCHAR Hand; }; - union + __GNU_EXTENSION union { UCHAR Inserted; BOOLEAN DebugActive; @@ -2410,7 +2410,7 @@ typedef struct _ERESOURCE ULONG ContentionCount; ULONG NumberOfSharedWaiters; ULONG NumberOfExclusiveWaiters; - union + __GNU_EXTENSION union { PVOID Address; ULONG_PTR CreatorBackTraceIndex; @@ -2510,7 +2510,7 @@ typedef struct LOOKASIDE_ALIGN _NPAGED_LOOKASIDE_LIST { //} LOOKASIDE_LIST_EX, *PLOOKASIDE_LIST_EX; typedef struct _EX_RUNDOWN_REF { - union { + __GNU_EXTENSION union { volatile ULONG_PTR Count; volatile PVOID Ptr; }; -- 2.17.1