Commit 0828e476 authored by Måns Rullgård's avatar Måns Rullgård

fix endian detection on MacOS

Originally committed as revision 10232 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c9076276
...@@ -1508,7 +1508,7 @@ EOF ...@@ -1508,7 +1508,7 @@ EOF
check_cc <<EOF || die "endian test failed" check_cc <<EOF || die "endian test failed"
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF EOF
strings $TMPO | grep -q BIGE && enable bigendian strings - $TMPO | grep -q BIGE && enable bigendian
# --- # ---
# check availability of some header files # check availability of some header files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment