curl_easy_setopt(conn, CURLOPT_HTTPHEADER, slist);
curl_easy_setopt(conn, CURLOPT_CERTINFO, 1);
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
#else
}
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
#else
curl_easy_setopt(conn, CURLOPT_WRITEHEADER, &PageHeader);
curl_easy_setopt(conn, CURLOPT_NOSIGNAL, 1);
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
#else
curl_easy_setopt(conn, CURLOPT_POSTFIELDS, query);
curl_easy_setopt(conn, CURLOPT_POSTFIELDSIZE, strlen(query));
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
#else
// Connection is OK. Do nothing.
*ServerResult = TRUE;
+
+#if !defined(__APPLE__) && !defined(__WIN32__)
+
} else if (conncode == CURLE_SSL_CACERT || conncode == CURLE_SSL_CONNECT_ERROR){