diff options
author | Måns Rullgård <mans@mansr.com> | 2009-07-26 12:20:04 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-07-26 12:20:04 +0000 |
commit | 63613fe615160671b394a232c1a3736319a6a8ec (patch) | |
tree | 4e85211d5388b91b47facca7700512abdd36446d /libavutil/intreadwrite.h | |
parent | 84c04e25196a59694abec3ae17af476994bc5ce8 (diff) | |
download | ffmpeg-63613fe615160671b394a232c1a3736319a6a8ec.tar.gz |
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/intreadwrite.h')
-rw-r--r-- | libavutil/intreadwrite.h | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |