Skip to content

Commit

Permalink
[System] Exclude LinuxNetworkChange from MONOTOUCH build (since it wo…
Browse files Browse the repository at this point in the history
…n't work as the p/invoke are not present)
  • Loading branch information
spouliot committed Jan 23, 2014
1 parent 62a953f commit 0da4887
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -107,7 +107,7 @@ static void MaybeCreate ()
try {
networkChange = new MacNetworkChange ();
} catch {
#if !NETWORK_CHANGE_STANDALONE
#if !NETWORK_CHANGE_STANDALONE && !MONOTOUCH
networkChange = new LinuxNetworkChange ();
#endif
}
Expand Down Expand Up @@ -318,7 +318,7 @@ static void HandleCallback (IntPtr reachability, NetworkReachabilityFlags flags,
}
}

#if !NETWORK_CHANGE_STANDALONE
#if !NETWORK_CHANGE_STANDALONE && !MONOTOUCH

internal sealed class LinuxNetworkChange : INetworkChange {
[Flags]
Expand Down

0 comments on commit 0da4887

Please sign in to comment.