[FFmpeg-devel] [PATCH] socklen_t definition
Diego Biurrun
diego
Mon Dec 31 11:15:39 CET 2007
On Sun, Dec 30, 2007 at 05:12:33PM -0800, Dave Yeo wrote:
>
> Updated patch attached with unrelated stuff removed.
> Looking at the Windows headers that come with OpenWatcom socklen_t is
> declared in ws2tcpip.h.
Does this stuff actually work for you?
> --- configure (revision 11358)
> +++ configure (working copy)
> @@ -551,6 +551,23 @@
>
> +check_type(){
> + log check_type "$@"
> + headers=$1
> + type=$2
> + shift 2
> + disable $type
> + incs=""
> + for hdr in $headers; do
> + incs="$incs
> +#include <$hdr>"
> + done
> + check_cc "$@" <<EOF && enable $type
> +$incs
> +$type v;
> +EOF
> +}
Ummm, $headers only ever contains one entry, you just assigned $1 to
it, so what's the point of looping over its content?
Diego
More information about the ffmpeg-devel
mailing list