mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:33:36 +03:00
lib: --disable-bindlocal builds curl without local binding support
This commit is contained in:
parent
97a79c79a7
commit
e67718eef7
8 changed files with 39 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ unsigned int Curl_ipv6_scope(const struct sockaddr *sa)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef CURL_DISABLE_BINDLOCAL
|
||||
|
||||
#if defined(HAVE_GETIFADDRS)
|
||||
|
||||
if2ip_result_t Curl_if2ip(int af,
|
||||
|
|
@ -254,3 +256,5 @@ if2ip_result_t Curl_if2ip(int af,
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* CURL_DISABLE_BINDLOCAL */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue