Fixed the LARGE_INTEGER and ULARGE_INTEGER unions for big endian.
This commit is contained in:
parent
dea6820b29
commit
d736e82225
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue