[corlib] Add back X509 support for watchOS.
[mono.git] / mcs / class / corlib / System.Security.Cryptography.X509Certificates / X509CertificateImplApple.cs
index 718aadc3f374ab1ba539160635b4c594da13b2ab..3ffe8ee3f82ee700e05d89ab1af433806aee68a4 100644 (file)
@@ -1,3 +1,4 @@
+#if MONO_FEATURE_APPLETLS || MONO_FEATURE_APPLE_X509
 using System;
 using System.Text;
 using System.Runtime.InteropServices;
@@ -197,3 +198,4 @@ namespace System.Security.Cryptography.X509Certificates
                }
        }
 }
+#endif