summaryrefslogtreecommitdiff
path: root/resolv/nss_dns
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-04-28 13:20:11 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-04-28 13:56:39 +0200
commitecfda0fc252232b127c41eab29c47bba8ca9e5e3 (patch)
tree715e6dd68c7a09aba3afe88f5503c745b7599c1a /resolv/nss_dns
parentc40226cb4c7f44d9ef58a5eb4c625a3a51a770bb (diff)
downloadglibc-ecfda0fc252232b127c41eab29c47bba8ca9e5e3.tar.gz
resolv: Remove SUNSECURITY preprocessor conditionals
The macro is never defined.
Diffstat (limited to 'resolv/nss_dns')
-rw-r--r--resolv/nss_dns/dns-host.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
index 93fee1038e..5f9e35701b 100644
--- a/resolv/nss_dns/dns-host.c
+++ b/resolv/nss_dns/dns-host.c
@@ -520,11 +520,6 @@ _nss_dns_gethostbyaddr2_r (const void *addr, socklen_t len, int af,
if (status != NSS_STATUS_SUCCESS)
return status;
-#ifdef SUNSECURITY
- This is not implemented because it is not possible to use the current
- source from bind in a multi-threaded program.
-#endif
-
result->h_addrtype = af;
result->h_length = len;
memcpy (host_data->host_addr, addr, len);