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:
Robin Burchell 2012-05-02 14:35:54 +02:00 committed by Qt by Nokia
parent a195a5bfd6
commit dac828dd81

View File

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