Fixed endianness #ifdefs (spotted by Jason Edmeades).

oldstable
Alexandre Julliard 2002-06-25 03:03:19 +00:00
parent 64284a8767
commit 5f09c96f58
2 changed files with 11 additions and 11 deletions

View File

@ -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;

View File

@ -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;