[System] Tweak define to exclude System.Net.WebProxy.CreateDefaultProxy and update...
[mono.git] / mcs / class / referencesource / System / net / System / Net / webproxy.cs
index b61133a980a9b7703f1a428ec686b7a199bd1d55..15840cd7022b9729306b19eac0cf0382fbe0f29a 100644 (file)
@@ -504,7 +504,7 @@ namespace System.Net {
 #if MONO
         public static IWebProxy CreateDefaultProxy ()
         {
-#if MONOTOUCH_WATCH
+#if FEATURE_NO_BSD_SOCKETS
             throw new PlatformNotSupportedException ();
 #elif MONOTOUCH
             return Mono.Net.CFNetwork.GetDefaultProxy ();