From 25eeee30b7fc169fe017d06c18107e1ac24f8034 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck F4FXL - KC3FRA Date: Sun, 24 Mar 2019 17:29:03 +0100 Subject: [PATCH] Always use wget on linux to download the XLX host file as some distros are missing wxhttp --- Common/XLXHostsFileDownloader.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Common/XLXHostsFileDownloader.h b/Common/XLXHostsFileDownloader.h index 1b51160..f5cbf7e 100644 --- a/Common/XLXHostsFileDownloader.h +++ b/Common/XLXHostsFileDownloader.h @@ -19,7 +19,9 @@ #ifndef XLXHostsFileDownloader_H #define XLXHostsFileDownloader_H -//#define XLX_USE_WGET +#if !defined (_WINDOWS__) +#define XLX_USE_WGET //for som reason libwx is missing the net stuff on some distros, therefore always use wget if we are not compiling under windows +#endif #include class CXLXHostsFileDownloader {