Revision 63613fe6 libavutil/intreadwrite.h

View differences:

libavutil/intreadwrite.h
155 155
                    ((uint8_t*)(p))[7] = (d)>>56; } while(0)
156 156
#endif
157 157

  
158
#ifdef WORDS_BIGENDIAN
158
#if HAVE_BIGENDIAN
159 159
#   define AV_RN(s, p)    AV_RB##s(p)
160 160
#   define AV_WN(s, p, v) AV_WB##s(p, v)
161 161
#else
......
189 189
#   define AV_WN64(p, v) AV_WN(64, p, v)
190 190
#endif
191 191

  
192
#ifdef WORDS_BIGENDIAN
192
#if HAVE_BIGENDIAN
193 193
#   define AV_RB(s, p)    AV_RN(s, p)
194 194
#   define AV_WB(s, p, v) AV_WN(s, p, v)
195 195
#   define AV_RL(s, p)    bswap_##s(AV_RN(s, p))

Also available in: Unified diff