summaryrefslogtreecommitdiff
path: root/test
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 /test
parent6ee8d3312e5cb59777c7ddf7fb9ebc2eb1a780f1 (diff)
downloadcompiler-rt-e8178e2a99ae5d7ccfe5882804a294fd0d3f453f.tar.gz
compiler-rt-e8178e2a99ae5d7ccfe5882804a294fd0d3f453f.tar.bz2
compiler-rt-e8178e2a99ae5d7ccfe5882804a294fd0d3f453f.tar.xz
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 'test')
-rw-r--r--test/Unit/endianness.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Unit/endianness.h b/test/Unit/endianness.h
index a123acd2..28b0ace6 100644
--- a/test/Unit/endianness.h
+++ b/test/Unit/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__