On Sun, Jul 15, 2012 at 01:58:13AM +0300, Martin Storsjö wrote:
>
> This function is only available in the headers if unconditionally
> targeting a version >= XP. It is not strictly necessary, since we
> try loading these functions dynamically at runtime on windows in
> the fallback, but this makes things a bit faster and more
> straightforward.
>
> On mingw32, this function isn't visible by default, while it is
> on mingw64 (on both 32 and 64 bit).
So why not make XP the baseline and simplify this?
> --- a/configure
> +++ b/configure
> @@ -2865,6 +2865,7 @@ check_func nanosleep || { check_func nanosleep -lrt &&
> add_extralibs -lrt; }
> check_func getaddrinfo $network_extralibs
> +disabled getaddrinfo && check_func_headers ws2tcpip.h getaddrinfo
> $network_extralibs
check_func getaddrinfo $network_extralibs ||
check_func_headers ws2tcpip.h getaddrinfo $network_extralibs
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel