From 901205f36c3268e7ece47b238f885a3bc57b3045 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Sat, 16 Dec 2006 01:28:53 +0000 Subject: [PATCH] allow universal binaries to be built using Xcode 2.2 or later --- ChangeLog | 5 +++++ arch/carbon/conf.h | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b9fdf08c..0c45e5d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-16 Chris Taylor + + * arch/carbon/conf.h: allow universal binaries to be built using + Xcode 2.2 or later + 2006-12-13 Chris Taylor * texmap/tmapflat.c: divide negative window x-coordinates properly, diff --git a/arch/carbon/conf.h b/arch/carbon/conf.h index 7fd9e1bd..45561707 100755 --- a/arch/carbon/conf.h +++ b/arch/carbon/conf.h @@ -101,7 +101,11 @@ /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ -#define WORDS_BIGENDIAN 1 +#ifdef __LITTLE_ENDIAN__ // Intel Macs +# define WORDS_BIGENDIAN 0 +#else +# define WORDS_BIGENDIAN 1 +#endif /* Define if your processor needs data to be word-aligned */ /* #undef WORDS_NEED_ALIGNMENT */ -- 2.39.2