From 6c38d4c61b0eb5a539d0c668f524fe1a66643a68 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 23 Oct 2007 01:40:17 +0000 Subject: checked in small Intel Mac fix from Thomas Grill, patch #1604142 svn path=/trunk/externals/miXed/; revision=8866 --- shared/shared.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shared') 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 -- cgit v1.2.1