diff options
author | Paul Querna <pquerna@apache.org> | 2016-03-13 15:11:23 -0700 |
---|---|---|
committer | Paul Querna <pquerna@apache.org> | 2016-03-13 15:14:35 -0700 |
commit | 3f2133fc971b8150b0ee7ac61d6228dd723b9902 (patch) | |
tree | 4769263beb10a1809ecca2b72429f454552cc9fc | |
parent | 6a462d4b08de01027e80e16afe6e891bb0fdabe3 (diff) |
kSCNetworkReachabilityFlagsIsWWAN is only available on iOS, not all Mac targets.
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCReachabilityFlagNames.xmacro.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCReachabilityFlagNames.xmacro.h b/src/objective-c/GRPCClient/private/GRPCReachabilityFlagNames.xmacro.h index 02871d5d02..4b92504b55 100644 --- a/src/objective-c/GRPCClient/private/GRPCReachabilityFlagNames.xmacro.h +++ b/src/objective-c/GRPCClient/private/GRPCReachabilityFlagNames.xmacro.h @@ -54,7 +54,9 @@ GRPC_XMACRO_ITEM. #endif +#if TARGET_OS_IPHONE GRPC_XMACRO_ITEM(isCell, IsWWAN) +#endif GRPC_XMACRO_ITEM(reachable, Reachable) GRPC_XMACRO_ITEM(transientConnection, TransientConnection) GRPC_XMACRO_ITEM(connectionRequired, ConnectionRequired) |