From 0c8667344c38153bd091ded7924d360d56288fa5 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 Sep 2009 10:37:59 +0000 Subject: [PATCH] fix endianess test on MIPS (Zhang Le) --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index de6b0d7f..300c1d5a 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ // ***************** Important Settings ******************** // define this if running on a big-endian CPU -#if !defined(IS_LITTLE_ENDIAN) && (defined(__BIG_ENDIAN__) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__mips__) || (defined(__MWERKS__) && !defined(__INTEL__))) +#if !defined(IS_LITTLE_ENDIAN) && (defined(__BIG_ENDIAN__) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__MIPSEB__) || defined(__ARMEB__) || (defined(__MWERKS__) && !defined(__INTEL__))) # define IS_BIG_ENDIAN #endif