conn = curl_easy_init();
+#if defined(__APPLE__)
+
SetConnectionObject(conn);
+
+#endif
struct CardDAVCURLPasser {
curl_easy_setopt(sslerrconn, CURLOPT_NOSIGNAL, 1);
curl_easy_setopt(sslerrconn, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(sslerrconn, CURLOPT_CERTINFO, 1);
+
+#if defined(__APPLE__)
SetConnectionObject(sslerrconn);
+#endif
+
sslerrconncode = (curl_easy_perform(sslerrconn));
#if defined(__APPLE__)