Add test that wxABI_VERSION is not set when compiling the library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -76,6 +76,13 @@
|
||||
#endif // wxUSE_STACKWALKER
|
||||
#endif // __WXDEBUG__
|
||||
|
||||
// wxABI_VERSION can be defined when compiling applications but it should be
|
||||
// left undefined when compiling the library itself, it is then set to its
|
||||
// default value in version.h
|
||||
#if wxABI_VERSION != wxMAJOR_VERSION * 10000 + wxMINOR_VERSION * 100 + 99
|
||||
#error "wxABI_VERSION should not be defined when compiling the library"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private functions prototypes
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user