From d1b093d567f56869d9bc78a6ef0b091fd0fb46f0 Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Wed, 29 Aug 2001 13:45:46 +0000 Subject: * include\winnt.h: Allow anonymous (Xxx.LowPart) or non-anonymous (Xxx.u.LowPart) access to HighPart and LowPart of a LARGE_INTEGER or ULARGE_INTEGER. * include/wingdi.h (HANGUL_CHARSET): Add define. --- winsup/w32api/include/winnt.h | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) (limited to 'winsup/w32api/include/winnt.h') diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index fd01ef5..4e12077 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -1701,21 +1701,31 @@ typedef struct _EXCEPTION_POINTERS { PCONTEXT ContextRecord; } EXCEPTION_POINTERS,*PEXCEPTION_POINTERS,*LPEXCEPTION_POINTERS; typedef union _LARGE_INTEGER { - _ANONYMOUS_STRUCT struct { - DWORD LowPart; - LONG HighPart; - }_STRUCT_NAME(u); - LONGLONG QuadPart; -} LARGE_INTEGER; -typedef LARGE_INTEGER *PLARGE_INTEGER; + struct { + DWORD LowPart; + LONG HighPart; + } u; +#if _ANONYMOUS_STRUCT + struct { + DWORD LowPart; + LONG HighPart; + }; +#endif /* _ANONYMOUS_STRUCT */ + LONGLONG QuadPart; +} LARGE_INTEGER, *PLARGE_INTEGER; typedef union _ULARGE_INTEGER { - _ANONYMOUS_STRUCT struct { - DWORD LowPart; - DWORD HighPart; - }_STRUCT_NAME(u); - DWORDLONG QuadPart; -} ULARGE_INTEGER; -typedef ULARGE_INTEGER *PULARGE_INTEGER; + struct { + DWORD LowPart; + DWORD HighPart; + } u; +#if _ANONYMOUS_STRUCT + struct { + DWORD LowPart; + DWORD HighPart; + }; +#endif /* _ANONYMOUS_STRUCT */ + ULONGLONG QuadPart; +} ULARGE_INTEGER, *PULARGE_INTEGER; typedef LARGE_INTEGER LUID,*PLUID; #pragma pack(push,4) typedef struct _LUID_AND_ATTRIBUTES { -- cgit v1.1