summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-07-26 17:43:06 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-07-26 17:43:06 +0000
commitf9dcd2a235817781fefdbd1eda809b4d3386e4f0 (patch)
tree65fe76862e689e841f53cf5deb8c602bc457cb48 /configure
parent06c122f00190a40969501ad7bc79c4b7d095136a (diff)
downloadmpv-f9dcd2a235817781fefdbd1eda809b4d3386e4f0.tar.bz2
mpv-f9dcd2a235817781fefdbd1eda809b4d3386e4f0.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
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")