From: Charles Bailey Date: Fri, 02 May 2014 16:58:30 GMT Subject: Re: [PATCH] Detect endianness on more platforms that don't use BYTE_ORDER Message-ID: <20140502165830.GA29339@hashpling.org> In-Reply-To: On Fri, May 02, 2014 at 09:48:58AM -0700, Junio C Hamano wrote: > Charles Bailey writes: > > > --- > > Please sign-off your patches ;-) Oops! Please consider this patch... Signed-off-by: Charles Bailey > This swaps the precedence of BYTE_ORDER and __BYTE_ORDER from the > original, which we may not want to. It is easy for me to swap the > order of if/elif to restore it, so it is not a big deal, though. I think I swapped the precedence (semi-deliberately) because I found a proposal to standardize the BYTE_ORDER variant. I claim that any platform which provides both but with differing senses is somewhat broken so I cannot see the precedence mattering much. I don't mind either way. Charles.