Disable code using if_nameindex on Android.
Android doesn't support if_nameindex. Change-Id: Idb0cbf52e6cffb19fe65e30430ef53626e0eeac7 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
parent
0c1ae68c0a
commit
a195a5bfd6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user