Fix ifdef that breaks libzt on iOS (#2050)

This commit is contained in:
Joseph Henry
2023-07-17 16:49:58 -07:00
committed by GitHub
parent fdc2e0f692
commit 97492eec7c

View File

@@ -320,7 +320,7 @@ class Binder {
//
(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) {
struct ifaddrs* ifatbl = (struct ifaddrs*)0;
struct ifaddrs* ifa;