From: Fiona Glaser Date: Fri, 11 Jul 2008 21:45:54 +0000 (-0600) Subject: Fix compilation on PPC systems (borked in r903) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59f016f9590de2cea68b82661599061a044840af;p=libx264 Fix compilation on PPC systems (borked in r903) Bigendian systems didn't have endian_fix32 defined --- diff --git a/common/osdep.h b/common/osdep.h index 960e7db0..e54c3192 100644 --- a/common/osdep.h +++ b/common/osdep.h @@ -143,6 +143,7 @@ #ifdef WORDS_BIGENDIAN #define endian_fix(x) (x) +#define endian_fix32(x) (x) #elif defined(__GNUC__) && defined(HAVE_MMX) static ALWAYS_INLINE uint32_t endian_fix32( uint32_t x ) {