X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7b62a3f5afe07889c24569c541c5185e4868840..0f8218d7ca7c8913bfdf82cad2f7be117a662b0d:/src/common/appbase.cpp?ds=sidebyside diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 0892aab62d..c0af2ac256 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -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 // ----------------------------------------------------------------------------