Merge pull request #3800 from madewokherd/mingwbuild
[mono.git] / mcs / class / System / Mono.Btls / MonoBtlsX509StoreManager.cs
index 13c92a29ef0560a9db89b0ae81a2b2af5e2e2e66..42fbdf7fa1c2fb7421e396146f0af1feaaff98b3 100644 (file)
@@ -23,7 +23,7 @@
 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
-#if SECURITY_DEP
+#if SECURITY_DEP && MONO_FEATURE_BTLS
 #if MONO_SECURITY_ALIAS
 extern alias MonoSecurity;
 #endif
@@ -45,12 +45,14 @@ namespace Mono.Btls
        static class MonoBtlsX509StoreManager
        {
                static bool initialized;
+#if !ANDROID
                static string machineTrustedRootPath;
                static string machineIntermediateCAPath;
                static string machineUntrustedPath;
                static string userTrustedRootPath;
                static string userIntermediateCAPath;
                static string userUntrustedPath;
+#endif
 
                static void Initialize ()
                {