From e8178e2a99ae5d7ccfe5882804a294fd0d3f453f Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Tue, 18 Aug 2009 11:54:44 +0000 Subject: 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 --- test/Unit/endianness.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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__ -- cgit v1.2.3