Fixed the LARGE_INTEGER and ULARGE_INTEGER unions for big endian.

This commit is contained in:
Gregg Mattinson 2002-05-29 00:33:07 +00:00 committed by Alexandre Julliard
parent dea6820b29
commit d736e82225
1 changed files with 10 additions and 0 deletions

View File

@ -3567,16 +3567,26 @@ typedef struct _TOKEN_GROUPS {
typedef union _LARGE_INTEGER { typedef union _LARGE_INTEGER {
struct { struct {
#ifdef WORDS_BIGENDIAN
LONG HighPart;
DWORD LowPart;
#else
DWORD LowPart; DWORD LowPart;
LONG HighPart; LONG HighPart;
#endif
} DUMMYSTRUCTNAME; } DUMMYSTRUCTNAME;
LONGLONG QuadPart; LONGLONG QuadPart;
} LARGE_INTEGER, *LPLARGE_INTEGER, *PLARGE_INTEGER; } LARGE_INTEGER, *LPLARGE_INTEGER, *PLARGE_INTEGER;
typedef union _ULARGE_INTEGER { typedef union _ULARGE_INTEGER {
struct { struct {
#ifdef WORDS_BIGENDIAN
DWORD HighPart;
DWORD LowPart;
#else
DWORD LowPart; DWORD LowPart;
DWORD HighPart; DWORD HighPart;
#endif
} DUMMYSTRUCTNAME; } DUMMYSTRUCTNAME;
ULONGLONG QuadPart; ULONGLONG QuadPart;
} ULARGE_INTEGER, *LPULARGE_INTEGER, *PULARGE_INTEGER; } ULARGE_INTEGER, *LPULARGE_INTEGER, *PULARGE_INTEGER;