Revision 89493e10

View differences:

configure
763 763
    altivec_h
764 764
    arpa_inet_h
765 765
    bswap
766
    byteswap_h
767 766
    closesocket
768 767
    cmov
769 768
    conio_h
......
870 869
ssse3_deps="x86"
871 870
vis_deps="sparc"
872 871

  
873
# system headers and functions
874
byteswap_h_deps="!armv4l"
875

  
876 872
# decoders / encoders
877 873
ac3_decoder_deps="gpl"
878 874
dxa_decoder_deps="zlib"
......
1673 1669
check_func  mkstemp
1674 1670
check_func_headers windows.h GetProcessTimes
1675 1671

  
1676
check_header byteswap.h
1677 1672
check_header conio.h
1678 1673
check_header dlfcn.h
1679 1674
check_header malloc.h
libavutil/bswap.h
30 30
#include "config.h"
31 31
#include "common.h"
32 32

  
33
#ifdef HAVE_BYTESWAP_H
34
#include <byteswap.h>
35
#else
36

  
37 33
static av_always_inline av_const uint16_t bswap_16(uint16_t x)
38 34
{
39 35
#if defined(ARCH_X86)
......
108 104
#endif
109 105
}
110 106

  
111
#endif  /* !HAVE_BYTESWAP_H */
112

  
113 107
// be2me ... BigEndian to MachineEndian
114 108
// le2me ... LittleEndian to MachineEndian
115 109

  

Also available in: Unified diff