Commit d736e822 authored by Gregg Mattinson's avatar Gregg Mattinson Committed by Alexandre Julliard

Fixed the LARGE_INTEGER and ULARGE_INTEGER unions for big endian.

parent dea6820b
...@@ -3567,16 +3567,26 @@ typedef struct _TOKEN_GROUPS { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment