ensure that the compatibility defines are not set for wxBase which doesn't need them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-02-22 18:18:10 +00:00
parent 1800689f23
commit 6962f34ea5

View File

@ -19,6 +19,24 @@
*/
#define wxABORT_ON_CONFIG_ERROR
/*
global features
*/
/* GUI build by default */
#if !defined(wxUSE_GUI)
# define wxUSE_GUI 1
#endif /* !defined(wxUSE_GUI) */
/* wxBase doesn't need compatibility settings as it's a new port */
#if !wxUSE_GUI
# undef WXWIN_COMPATIBILITY
# undef WXWIN_COMPATIBILITY_2
# undef WXWIN_COMPATIBILITY_2_2
# define WXWIN_COMPATIBILITY 0
# define WXWIN_COMPATIBILITY_2 0
# define WXWIN_COMPATIBILITY_2_2 0
#endif /* !wxUSE_GUI */
/*
tests for non GUI features