]> granicus.if.org Git - libx264/commitdiff
Fix compilation on PPC systems (borked in r903)
authorFiona Glaser <fiona@x264.com>
Fri, 11 Jul 2008 21:45:54 +0000 (15:45 -0600)
committerFiona Glaser <fiona@x264.com>
Fri, 11 Jul 2008 21:56:54 +0000 (15:56 -0600)
Bigendian systems didn't have endian_fix32 defined

common/osdep.h

index 960e7db0a07aee33ba44d1bbc75fd54ed6193787..e54c3192a59407a697549ead5c20d4e11e46c93f 100644 (file)
 
 #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 )
 {