Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Moved ConnectionObject and subroutines that use it into defined(__APPLE__).
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 11 Apr 2016 22:50:31 +0000 (23:50 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 11 Apr 2016 22:50:31 +0000 (23:50 +0100)
source/carddav/carddav.cpp
source/carddav/carddav.h

index bc3a8f7..8cbc71e 100644 (file)
@@ -480,6 +480,8 @@ wxString CardDAV::GetErrorMessage(){
 \r
 }\r
 \r
+#if defined(__APPLE__)\r
+\r
 CURL* CardDAV::GetConnectionObject(){\r
        \r
        // Get the CardDAV connection object.\r
@@ -494,4 +496,6 @@ void CardDAV::SetConnectionObject(CURL *ConnectionObjectIn){
        \r
        ConnectionObject = ConnectionObjectIn;\r
        \r
-}
\ No newline at end of file
+}\r
+\r
+#endif
\ No newline at end of file
index 40df888..81269bc 100644 (file)
@@ -123,8 +123,8 @@ class CardDAV
 #if defined(__APPLE__)
                static SSLContext *SSLContextPointer;
                static SecTrustRef SecTrustObject;
-#endif
                static CURL* ConnectionObject;
+#endif
                static wxString ServerAddress;
                static int ServerPort;
                static wxString ServerUser;
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