From 55128bd027657d41bdd1ecb0d0ae93bf191f2173 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Tue, 30 Dec 2003 19:13:43 +0000 Subject: [PATCH] Fix for anonymous struct definition, which made at least /drivers/net/dd/pcnet uncompilable svn path=/trunk/; revision=7339 --- reactos/include/ntos/types.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/reactos/include/ntos/types.h b/reactos/include/ntos/types.h index 8252905729e..76e46124290 100644 --- a/reactos/include/ntos/types.h +++ b/reactos/include/ntos/types.h @@ -143,18 +143,17 @@ typedef DWORD STDCALL_FUNC (*PTHREAD_START_ROUTINE) (LPVOID); typedef union _LARGE_INTEGER { + struct + { + DWORD LowPart; + LONG HighPart; + } u; #ifdef ANONYMOUSUNIONS struct { DWORD LowPart; LONG HighPart; }; -#else - struct - { - DWORD LowPart; - LONG HighPart; - } u; #endif /* ANONYMOUSUNIONS */ LONGLONG QuadPart; } LARGE_INTEGER, *PLARGE_INTEGER;