From 9a9ff290985c624d7933f1d33c8408f04c83a619 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 5 Feb 2019 21:03:27 +0100 Subject: [PATCH] Remove redundant wxUSE_XXX checks from wx/filesys.h These checks are already performed in wx/chkconf.h and don't need to be redone here, especially incorrectly (testing for "!wxUSE_FILESYSTEM" inside "#if wxUSE_FILESYSTEM" is useless). --- include/wx/filesys.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/wx/filesys.h b/include/wx/filesys.h index eb9a794e80..69311aebb0 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -13,14 +13,6 @@ #if wxUSE_FILESYSTEM -#if !wxUSE_STREAMS -#error You cannot compile virtual file systems without wxUSE_STREAMS -#endif - -#if wxUSE_HTML && !wxUSE_FILESYSTEM -#error You cannot compile wxHTML without virtual file systems -#endif - #include "wx/stream.h" #include "wx/datetime.h" #include "wx/filename.h"