aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-18 11:54:44 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-18 11:54:44 +0000
commite8178e2a99ae5d7ccfe5882804a294fd0d3f453f (patch)
tree3ee8c14c159dee1ebe94d429049fc879aea5fce2 /lib
parent6ee8d3312e5cb59777c7ddf7fb9ebc2eb1a780f1 (diff)
Add support for ellcc, Credit to Richard Pennington.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@79332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/endianness.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/endianness.h b/lib/endianness.h
index a123acd2d..28b0ace61 100644
--- a/lib/endianness.h
+++ b/lib/endianness.h
@@ -52,7 +52,7 @@
/* .. */
/* Mac OSX has __BIG_ENDIAN__ or __LITTLE_ENDIAN__ automatically set by the compiler (at least with GCC) */
-#if defined(__APPLE__) && defined(__MACH__)
+#if defined(__APPLE__) && defined(__MACH__) || defined(__ellcc__ )
#ifdef __BIG_ENDIAN__
#if __BIG_ENDIAN__