aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/curlcheck.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-10-13 11:19:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-13 11:21:03 +0200
commitaec7c5a87c8482b6ddffa352d7d220698652262e (patch)
treebc2c74812f2d1980fba61ecb4de64d174a48e2fc /tests/unit/curlcheck.h
parentb55502cdae4e9eb773762b87694f347a8d11ed8b (diff)
cmake: enable IPv6 by default if available
ENABLE_IPV6 depends on HAVE_GETADDRINFO or you will get a Curl_getaddrinfo_ex error. Enable IPv6 by default, disabling it if struct sockaddr_in6 is not found in netinet/in.h. Note that HAVE_GETADDRINFO_THREADSAFE is still not set as it needs more platform checks even though POSIX requires a thread-safe getaddrinfo. Verified on Arch Linux x86_64 with glibc 2.20-2 and Linux 3.16-rc7. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'tests/unit/curlcheck.h')
0 files changed, 0 insertions, 0 deletions