summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webservice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/webservice.c b/webservice.c
index 9c990284c..426888118 100644
--- a/webservice.c
+++ b/webservice.c
@@ -369,10 +369,10 @@ int divelogde_upload(char *fn, char **error)
SoupSession *session;
SoupBuffer *sbuf;
gboolean ret = FALSE;
-#ifdef __MINGW32__
+#if __MINGW32__ || __APPLE__
/* for odd reasons I can't seem to get https connections to work
- * with mingw32 when cross-building the Windows binaries... so fall
- * back to http for now */
+ * with mingw32 when cross-building the Windows binaries and
+ * neither with bundled Mac binaries so fall back to http for now */
char url[256] = "http://divelogs.de/DivelogsDirectImport.php";
#else
char url[256] = "https://divelogs.de/DivelogsDirectImport.php";