lib: --disable-bindlocal builds curl without local binding support

This commit is contained in:
Daniel Stenberg 2023-08-17 14:36:30 +02:00
parent 97a79c79a7
commit e67718eef7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
8 changed files with 39 additions and 0 deletions

View file

@ -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 */