Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Check for __WIN32__ in addition to __APPLE__
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Fri, 27 May 2016 22:22:18 +0000 (23:22 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Fri, 27 May 2016 22:22:18 +0000 (23:22 +0100)
source/carddav/carddav-contactlist.cpp
source/carddav/carddav-processdata.cpp
source/carddav/carddav-servercontact.cpp
source/carddav/carddav-serveretag.cpp
source/carddav/carddav-sslverify.cpp

index ab0cf09..6990876 100644 (file)
@@ -154,7 +154,7 @@ ContactListData CardDAV::GetContactList(wxString SyncTokenInc){
                curl_easy_setopt(conn, CURLOPT_HTTPHEADER, slist);
                curl_easy_setopt(conn, CURLOPT_CERTINFO, 1);
 
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
                
 #else
                
index 55a353f..1e5a603 100644 (file)
@@ -129,7 +129,7 @@ void CardDAV::ProcessDataThread(){
                
                }
 
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
                
 #else
                
index 1ebc1df..a3c70c3 100644 (file)
@@ -101,7 +101,7 @@ void CardDAV::GetServerContactData()
                curl_easy_setopt(conn, CURLOPT_WRITEHEADER, &PageHeader);
                curl_easy_setopt(conn, CURLOPT_NOSIGNAL, 1);
 
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
                
 #else
                
index 5ac3f27..8784218 100644 (file)
@@ -115,7 +115,7 @@ void CardDAV::GetServerETagValueThread()
                curl_easy_setopt(conn, CURLOPT_POSTFIELDS, query);
                curl_easy_setopt(conn, CURLOPT_POSTFIELDSIZE, strlen(query));
 
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
                
 #else
                
index ac861b0..5d81bb3 100644 (file)
@@ -90,6 +90,9 @@ CURLcode CardDAV::SSLVerifyTest(){
                        // Connection is OK. Do nothing.
 
                        *ServerResult = TRUE;
+                       
+#if !defined(__APPLE__) && !defined(__WIN32__)
+                       
 
                } else if (conncode == CURLE_SSL_CACERT || conncode == CURLE_SSL_CONNECT_ERROR){
 
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy