mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Fix ifdef that breaks libzt on iOS
This commit is contained in:
parent
008a768f15
commit
050b5a8a04
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue