Android's resolv.h is busted, so stub out QHostInfo::localDomainName().
Change-Id: Idcf5ca7298eed55121b690906885af0eb3fe0b9e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
parent
a195a5bfd6
commit
dac828dd81
@ -322,7 +322,7 @@ QString QHostInfo::localHostName()
|
||||
|
||||
QString QHostInfo::localDomainName()
|
||||
{
|
||||
#if !defined(Q_OS_VXWORKS)
|
||||
#if !defined(Q_OS_VXWORKS) && !defined(Q_OS_LINUX_ANDROID)
|
||||
resolveLibrary();
|
||||
if (local_res_ninit) {
|
||||
// using thread-safe version
|
||||
|
Loading…
Reference in New Issue
Block a user