From 63613fe615160671b394a232c1a3736319a6a8ec Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sun, 26 Jul 2009 12:20:04 +0000 Subject: Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/intreadwrite.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil/intreadwrite.h') diff --git a/libavutil/intreadwrite.h b/libavutil/intreadwrite.h index d46595eea7..18a2b6de44 100644 --- a/libavutil/intreadwrite.h +++ b/libavutil/intreadwrite.h @@ -155,7 +155,7 @@ struct unaligned_16 { uint16_t l; } __attribute__((packed)); ((uint8_t*)(p))[7] = (d)>>56; } while(0) #endif -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN # define AV_RN(s, p) AV_RB##s(p) # define AV_WN(s, p, v) AV_WB##s(p, v) #else @@ -189,7 +189,7 @@ struct unaligned_16 { uint16_t l; } __attribute__((packed)); # define AV_WN64(p, v) AV_WN(64, p, v) #endif -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN # define AV_RB(s, p) AV_RN(s, p) # define AV_WB(s, p, v) AV_WN(s, p, v) # define AV_RL(s, p) bswap_##s(AV_RN(s, p)) -- cgit v1.2.3