[build] Prevent cyclic targets from being built in parallel
[mono.git] / mcs / class / System / System.Net.Security / LocalCertificateSelectionCallback.cs
index dd3448675f048973b0de2400ee6d5b28be3ac4c0..53c829076ebe2c3af1ec7b3532b59b46a1ad8dc3 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0 && SECURITY_DEP
+#if SECURITY_DEP
 
-#if !MOONLIGHT
+#if !MONOTOUCH && !MONODROID
 extern alias PrebuiltSystem;
-
 using X509CertificateCollection = PrebuiltSystem::System.Security.Cryptography.X509Certificates.X509CertificateCollection;
 #endif
 
@@ -48,5 +47,4 @@ namespace System.Net.Security
                X509Certificate remoteCertificate,
                string [] acceptableIssuers);
 }
-
 #endif