From f9dcd2a235817781fefdbd1eda809b4d3386e4f0 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 26 Jul 2009 17:43:06 +0000 Subject: Set both HAVE_BIGENDIAN and WORDS_BIGENDIAN. Both definitions are used in different places. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29441 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 24eb4b4c64..1795e08d68 100755 --- a/configure +++ b/configure @@ -2361,10 +2361,12 @@ EOF fi if test "$_big_endian" = yes ; then _byte_order='big-endian' - def_words_endian='#define HAVE_BIGENDIAN 1' + def_words_endian='#define WORDS_BIGENDIAN 1' + def_bigendian='#define HAVE_BIGENDIAN 1' else _byte_order='little-endian' - def_words_endian='#define HAVE_BIGENDIAN 0' + def_words_endian='#undef WORDS_BIGENDIAN' + def_bigendian='#define HAVE_BIGENDIAN 0' fi echores "$_byte_order" @@ -8582,6 +8584,7 @@ $def_pthread_cache /* CPU stuff */ #define __CPU__ $iproc $def_words_endian +$def_bigendian $(ff_config_enable "$_arch_all" "$_arch" "ARCH") $(ff_config_enable "$_cpuexts_all" "$_cpuexts" "HAVE") -- cgit v1.2.3