Fixed endianness #ifdefs (spotted by Jason Edmeades).
This commit is contained in:
parent
64284a8767
commit
5f09c96f58
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue