changeset 924:75085f7adc78

Only include sslconnection_curl if curl is used
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 21 Aug 2014 15:24:01 +0200
parents 68db3a46ae36
children 1b77124aea4d
files ui/downloader.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ui/downloader.cpp	Thu Aug 21 15:00:49 2014 +0200
+++ b/ui/downloader.cpp	Thu Aug 21 15:24:01 2014 +0200
@@ -28,8 +28,11 @@
 #define MAX_SW_SIZE 15728640
 #define MAX_LIST_SIZE 1048576
 
+#ifdef USE_CURL
 #include "sslconnection_curl.h"
+#else
 #include "sslconnection_bare.h"
+#endif
 
 Downloader::Downloader(QObject* parent, const QString& url,
                        const QByteArray& certificate,

http://wald.intevation.org/projects/trustbridge/