diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-11-30 15:49:32 +0100 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-12-03 21:37:41 +0100 |
commit | 226bf217028017e408eadef66e60a1ea5762c961 (patch) | |
tree | 69b8c686419ebab6f3f39c2df5544b8861612b32 /src/tool_writeout.c | |
parent | 67a08dca27a6a07b36c7f97252e284ca957ff1a5 (diff) |
configure: enable IPv6 support without `getaddrinfo`
This makes it possible to recognize and connect to literal IPv6
addresses when `getaddrinfo` is not available, which is already the
case for the CMake build. This affects e.g. classic MinGW because it
still targets Windows 2000 by default, where `getaddrinfo` is not
available, but general IPv6 support is.
Instead of checking for `getaddrinfo`, check for `sockaddr_in6` as the
CMake build does.
Closes https://github.com/curl/curl/pull/4662
Diffstat (limited to 'src/tool_writeout.c')
0 files changed, 0 insertions, 0 deletions