diff options
author | Robin Burchell <robin.burchell@collabora.co.uk> | 2012-05-02 14:39:50 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-02 22:32:07 +0200 |
commit | a195a5bfd6b1534968a785c539e4403d13ad722b (patch) | |
tree | 503f1c62820dfbd4dfe1a61b38809a4a65a1182c /src | |
parent | 0c1ae68c0aea64aa984d98619f581ab6cf8593f3 (diff) |
Disable code using if_nameindex on Android.
Android doesn't support if_nameindex.
Change-Id: Idb0cbf52e6cffb19fe65e30430ef53626e0eeac7
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/network/kernel/qnetworkinterface_unix.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkinterface_unix.cpp b/src/network/kernel/qnetworkinterface_unix.cpp index fbff6dc4d3..db031fcc6b 100644 --- a/src/network/kernel/qnetworkinterface_unix.cpp +++ b/src/network/kernel/qnetworkinterface_unix.cpp @@ -61,6 +61,11 @@ # define QT_NO_GETIFADDRS #endif +#ifdef Q_OS_LINUX_ANDROID +// android lacks if_nameindex +# define QT_NO_IPV6IFNAME +#endif + #ifndef QT_NO_GETIFADDRS # include <ifaddrs.h> #endif |