[MPlayer-cvslog] r29441 - trunk/configure

diego subversion at mplayerhq.hu
Sun Jul 26 19:43:07 CEST 2009


Author: diego
Date: Sun Jul 26 19:43:06 2009
New Revision: 29441

Log:
Set both HAVE_BIGENDIAN and WORDS_BIGENDIAN.
Both definitions are used in different places.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Jul 26 16:40:05 2009	(r29440)
+++ trunk/configure	Sun Jul 26 19:43:06 2009	(r29441)
@@ -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")
 


More information about the MPlayer-cvslog mailing list