Commit 5f09c96f authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed endianness #ifdefs (spotted by Jason Edmeades).

parent 64284a87
......@@ -41,12 +41,12 @@ typedef unsigned long LHANDLE, *LPLHANDLE;
typedef union tagCY
{
struct {
#ifdef BIG_ENDIAN
long Hi;
long Lo;
#ifdef WORDS_BIGENDIAN
LONG Hi;
ULONG Lo;
#else
unsigned long Lo;
long Hi;
ULONG Lo;
LONG Hi;
#endif
} u;
LONGLONG int64;
......
......@@ -166,13 +166,13 @@ typedef struct tagBLOB
typedef union tagCY {
struct {
#ifdef BIG_ENDIAN
#ifdef WORDS_BIGENDIAN
LONG Hi;
ULONG Lo;
#else /* defined(BIG_ENDIAN) */
#else
ULONG Lo;
LONG Hi;
#endif /* defined(BIG_ENDIAN) */
#endif
} DUMMYSTRUCTNAME;
LONGLONG int64;
} CY;
......@@ -191,13 +191,13 @@ typedef struct tagDEC {
ULONG Hi32;
union {
struct {
#ifdef BIG_ENDIAN
#ifdef WORDS_BIGENDIAN
ULONG Mid32;
ULONG Lo32;
#else /* defined(BIG_ENDIAN) */
#else
ULONG Lo32;
ULONG Mid32;
#endif /* defined(BIG_ENDIAN) */
#endif
} DUMMYSTRUCTNAME2;
ULONGLONG Lo64;
} DUMMYUNIONNAME2;
......
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