X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74e34480fbfd892bc6450c3978b825b81c3c870b..e2a3cc0c34b6a54a31bc684368740704453356b8:/include/wx/fileconf.h diff --git a/include/wx/fileconf.h b/include/wx/fileconf.h index 532f0c4a63..e4eec24fa1 100644 --- a/include/wx/fileconf.h +++ b/include/wx/fileconf.h @@ -18,17 +18,13 @@ #endif #include "wx/defs.h" + +#ifdef wxUSE_CONFIG + +#include "wx/confbase.h" #include "wx/textfile.h" #include "wx/string.h" -// ---------------------------------------------------------------------------- -// compile options -// ---------------------------------------------------------------------------- - -// it won't compile without it anyhow -#ifndef wxUSE_CONFIG - #error "Please define wxUSE_CONFIG or remove fileconf.cpp from your makefile" -#endif // wxUSE_CONFIG // ---------------------------------------------------------------------------- // wxFileConfig @@ -351,5 +347,9 @@ public: }; }; -#endif //_FILECONF_H +#endif + // wxUSE_CONFIG + +#endif + //_FILECONF_H