diff options
author | jsorg71 <jsorg71> | 2005-07-10 19:17:09 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-07-10 19:17:09 +0000 |
commit | d349f6920a4d97632d0216fbd0d48de50498eb4b (patch) | |
tree | 4677e525c731873e0d454b6337d18fa6734eaae2 /common | |
parent | 196bfa81d6eb601d35024f117e8aa988657c8569 (diff) | |
download | xrdp-proprietary-d349f6920a4d97632d0216fbd0d48de50498eb4b.tar.gz xrdp-proprietary-d349f6920a4d97632d0216fbd0d48de50498eb4b.zip |
some more big endian fixes
Diffstat (limited to 'common')
-rw-r--r-- | common/arch.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/arch.h b/common/arch.h index 4c1f0807..f7d7c335 100644 --- a/common/arch.h +++ b/common/arch.h @@ -22,7 +22,9 @@ #define ARCH_H /* check endianess */ -#if __BYTE_ORDER == __LITTLE_ENDIAN +#if defined(__sparc__) +#define B_ENDIAN +#elif __BYTE_ORDER == __LITTLE_ENDIAN #define L_ENDIAN #elif __BYTE_ORDER == __BIG_ENDIAN #define B_ENDIAN |