blob: e4872a75052020f3173b0e79cdf05332e7c290bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- net/dns/host_resolver_proc.cc.orig 2022-03-25 21:59:56 UTC
+++ net/dns/host_resolver_proc.cc
@@ -19,10 +19,6 @@
#include "net/dns/dns_util.h"
#include "net/dns/host_resolver.h"
-#if BUILDFLAG(IS_OPENBSD)
-#define AI_ADDRCONFIG 0
-#endif
-
namespace net {
HostResolverProc* HostResolverProc::default_proc_ = nullptr;
@@ -192,7 +188,7 @@ int SystemHostResolverCall(const std::string& host,
base::BlockingType::WILL_BLOCK);
#if BUILDFLAG(IS_POSIX) && \
- !(BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_ANDROID))
+ !(BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_ANDROID))
DnsReloaderMaybeReload();
#endif
auto [ai, err, os_error] = AddressInfo::Get(host, hints, nullptr, network);
|