]> git.saurik.com Git - wxWidgets.git/commitdiff
Blind check for compatibility flags.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 10 Apr 2006 13:42:28 +0000 (13:42 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 10 Apr 2006 13:42:28 +0000 (13:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index 17016e4ba1893f21208f0ee169d4cec0c1666211..ae7b45c4e5f1e5b23ebc099e2e32790d94bef912 100644 (file)
    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