mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 21:17:52 +00:00
Fix ifdef that breaks libzt on iOS (#2050)
This commit is contained in:
parent
fdc2e0f692
commit
97492eec7c
@ -320,7 +320,7 @@ class Binder {
|
|||||||
//
|
//
|
||||||
(void)gotViaProc;
|
(void)gotViaProc;
|
||||||
|
|
||||||
#if ! (defined(ZT_SDK) || defined(__ANDROID__)) // getifaddrs() freeifaddrs() not available on Android
|
#if ! defined(__ANDROID__) // getifaddrs() freeifaddrs() not available on Android
|
||||||
if (! gotViaProc) {
|
if (! gotViaProc) {
|
||||||
struct ifaddrs* ifatbl = (struct ifaddrs*)0;
|
struct ifaddrs* ifatbl = (struct ifaddrs*)0;
|
||||||
struct ifaddrs* ifa;
|
struct ifaddrs* ifa;
|
||||||
|
Loading…
Reference in New Issue
Block a user