Permalink
Browse files

[ENDIAN] Select endianess correctly for MIPS

Change-Id: Ie2bd871d8363f6e8a1e776f71dfccb59b2bf0f08
Signed-off-by: Chris Dearman <chris@mips.com>
  • Loading branch information...
1 parent 988ffeb commit 2b584d809ab233e0684d6c2779be0cc0607dae1e @chrisdearman chrisdearman committed with Bhanu Chetlapalli Apr 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 fdlibm.h
View
@@ -19,7 +19,7 @@ extern "C" {
but these catch some common cases. */
#if defined(i386) || defined(i486) || \
defined(intel) || defined(x86) || defined(i86pc) || \
- defined(__alpha) || defined(__osf__)
+ defined(__alpha) || defined(__osf__) || defined(__MIPSEL__)
#define __LITTLE_ENDIAN
#endif
#endif

0 comments on commit 2b584d8

Please sign in to comment.