Author: ktietz Date: Sat Feb 27 13:04:42 2010 New Revision: 45693 URL: http://svn.reactos.org/svn/reactos?rev=45693&view=rev Log: Extend unnamed union/struct by __GNU_EXTENSION in wdm.h
Modified: branches/header-work/include/ddk/wdm.h Modified: branches/header-work/include/ddk/wdm.h URL: http://svn.reactos.org/svn/reactos/branches/header-work/include/ddk/wdm.h?rev=45693&r1=45692&r2=45693&view=diff ============================================================================== --- branches/header-work/include/ddk/wdm.h [iso-8859-1] (original) +++ branches/header-work/include/ddk/wdm.h [iso-8859-1] Sat Feb 27 13:04:42 2010 @@ -221,7 +221,7 @@ } Interrupt; #if (NTDDI_VERSION >= NTDDI_LONGHORN) struct { - union { + __GNU_EXTENSION union { struct { USHORT Reserved; USHORT MessageCount; @@ -1073,22 +1073,22 @@ 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 @@ ULONG ContentionCount; ULONG NumberOfSharedWaiters; ULONG NumberOfExclusiveWaiters; - union + __GNU_EXTENSION union { PVOID Address; ULONG_PTR CreatorBackTraceIndex; @@ -2510,7 +2510,7 @@ //} LOOKASIDE_LIST_EX, *PLOOKASIDE_LIST_EX; typedef struct _EX_RUNDOWN_REF { - union { + __GNU_EXTENSION union { volatile ULONG_PTR Count; volatile PVOID Ptr; };