mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/net/dns/host_resolver_manager.cc
 | |
| +++ b/net/dns/host_resolver_manager.cc
 | |
| @@ -3014,8 +3014,7 @@
 | |
|    NetworkChangeNotifier::AddConnectionTypeObserver(this);
 | |
|    if (system_dns_config_notifier_)
 | |
|      system_dns_config_notifier_->AddObserver(this);
 | |
| -#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_OPENBSD) && \
 | |
| -    !BUILDFLAG(IS_ANDROID)
 | |
| +#if defined(__GLIBC__)
 | |
|    EnsureDnsReloaderInit();
 | |
|  #endif
 | |
|  
 | |
| --- a/net/dns/dns_reloader.cc
 | |
| +++ b/net/dns/dns_reloader.cc
 | |
| @@ -6,8 +6,7 @@
 | |
|  
 | |
|  #include "build/build_config.h"
 | |
|  
 | |
| -#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_OPENBSD) && \
 | |
| -    !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_FUCHSIA)
 | |
| +#if defined(__GLIBC__)
 | |
|  
 | |
|  #include <resolv.h>
 | |
|  
 | |
| --- a/net/dns/host_resolver_proc.cc
 | |
| +++ b/net/dns/host_resolver_proc.cc
 | |
| @@ -176,8 +176,7 @@
 | |
|    base::ScopedBlockingCall scoped_blocking_call(FROM_HERE,
 | |
|                                                  base::BlockingType::WILL_BLOCK);
 | |
|  
 | |
| -#if BUILDFLAG(IS_POSIX) && \
 | |
| -    !(BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_ANDROID))
 | |
| +#if defined(__GLIBC__)
 | |
|    DnsReloaderMaybeReload();
 | |
|  #endif
 | |
|    absl::optional<AddressInfo> ai;
 |