mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
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
This commit is contained in:
parent
06c122f001
commit
f9dcd2a235
7
configure
vendored
7
configure
vendored
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user