From: Włodzimierz Skiba Date: Mon, 10 Apr 2006 13:42:28 +0000 (+0000) Subject: Blind check for compatibility flags. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f7c3b945ec60c06b40a4bd8b5ceca2bacab9b08f Blind check for compatibility flags. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 17016e4ba1..ae7b45c4e5 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -831,6 +831,17 @@ check consistency of the settings */ +#if WXWIN_COMPATIBILITY_2_4 +# if !WXWIN_COMPATIBILITY_2_6 +# ifdef wxABORT_ON_CONFIG_ERROR +# error "2.4.X compatibility requires 2.6.X compatibility" +# else +# undef WXWIN_COMPATIBILITY_2_6 +# define WXWIN_COMPATIBILITY_2_6 1 +# endif +# endif +#endif /* WXWIN_COMPATIBILITY_2_4 */ + #if wxUSE_ARCHIVE_STREAMS # if !wxUSE_DATETIME # ifdef wxABORT_ON_CONFIG_ERROR