From f6616058c15cd5ce1f64e24039ead8e7612801ea Mon Sep 17 00:00:00 2001 From: kreatordxx <> Date: Sun, 24 Dec 2006 08:23:23 +0000 Subject: [PATCH] allow universal binaries to be built using Xcode 2.1 or later (from D2X CVS) --- ChangeLog | 5 +++++ arch/carbon/conf.h | 6 +++++- dxx-changelog.txt | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 85949d372..5112434e3 100755 --- 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.1 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 7fd9e1bdd..455617078 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 */ diff --git a/dxx-changelog.txt b/dxx-changelog.txt index 5eee60773..70a429535 100755 --- a/dxx-changelog.txt +++ b/dxx-changelog.txt @@ -7,6 +7,7 @@ arch/ogl/gr.c: avoid loading OpenGL textures before they have been paged in, bug main/weapon.c: only autoselect a secondary weapon if the player didn't have any of that type before (fix bug #2671) (from D2X CVS) texmap/scanline.c: divide negative light rates of change properly (fix bug #2575) (from D2X CVS) texmap/tmapflat.c: divide negative window x-coordinates properly, fixing random crashes (from D2X CVS) +arch/carbon/conf.h: allow universal binaries to be built using Xcode 2.1 or later (from D2X CVS) 20061219 --------