Merge pull request #30 from F4FXL/NewXLX

Fix Windows build asking for wget
This commit is contained in:
Jonathan Naylor 2019-04-17 11:00:06 +01:00 committed by GitHub
commit f2d9f61fa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,10 +19,12 @@
#ifndef XLXHostsFileDownloader_H
#define XLXHostsFileDownloader_H
#if !defined (_WINDOWS__)
#include <wx/wx.h>
#if !defined (__WINDOWS__)
#define XLX_USE_WGET //for some reason libwx is missing the net stuff on some distros, therefore always use wget if we are not compiling under windows
#endif
#include <wx/wx.h>
class CXLXHostsFileDownloader {
public: