From 7d473b076dd3c41fa46f835564a0827c28f0422e Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Thu, 6 Jun 1996 17:04:03 +0000 Subject: [PATCH] Make sure Solaris is recognized as little endian. From-SVN: r12175 --- gcc/config/rs6000/sysv4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 0790d1cc316..b2b4c23756f 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -272,7 +272,7 @@ do { \ /* Define this to set the endianness to use in libgcc2.c, which can not depend on target_flags. */ -#ifndef _LITTLE_ENDIAN +#if !defined(_LITTLE_ENDIAN) && !defined(__sun__) #define LIBGCC2_WORDS_BIG_ENDIAN 1 #else #define LIBGCC2_WORDS_BIG_ENDIAN 0