diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-10-23 01:40:17 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-10-23 01:40:17 +0000 |
commit | 6c38d4c61b0eb5a539d0c668f524fe1a66643a68 (patch) | |
tree | e909617570736b43a72e7a5f65317838c96a3ad0 /shared | |
parent | 38ddcbc93a1b98c7622ba8dd8183f42381ead655 (diff) |
checked in small Intel Mac fix from Thomas Grill, patch #1604142
svn path=/trunk/externals/miXed/; revision=8866
Diffstat (limited to 'shared')
-rw-r--r-- | shared/shared.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/shared.h b/shared/shared.h index 0e60dbd..73e84e2 100644 --- a/shared/shared.h +++ b/shared/shared.h @@ -91,8 +91,13 @@ typedef unsigned short uint16; #ifndef uchar typedef unsigned char uchar; #endif +#ifdef __BIG_ENDIAN__ #define SHARED_HIOFFSET 0 #define SHARED_LOWOFFSET 1 +#else +#define SHARED_HIOFFSET 1 +#define SHARED_LOWOFFSET 0 +#endif #endif #ifdef IRIX |