diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-24 22:22:29 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-15 02:19:34 +0300 |
commit | 39d18f21a5fd06c79b16a505b19cbdd15c6e093c (patch) | |
tree | e764cec2367984335171207c0f3319062c48f8e4 /configure | |
parent | 951455c1c18d54177f281dba174078e54a835361 (diff) | |
download | ffmpeg-streaming-39d18f21a5fd06c79b16a505b19cbdd15c6e093c.zip ffmpeg-streaming-39d18f21a5fd06c79b16a505b19cbdd15c6e093c.tar.gz |
configure: Check for getaddrinfo in ws2tcpip.h, too
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).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2863,7 +2863,8 @@ check_func nanosleep || { check_func nanosleep -lrt && add_extralibs -lrt; } check_func fcntl check_func fork -check_func getaddrinfo $network_extralibs +check_func getaddrinfo $network_extralibs || + check_func_headers ws2tcpip.h getaddrinfo $network_extralibs check_func gethrtime check_func getopt check_func getrusage |