X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fb17fd5189e4b1d8a88c2a34e68e4e8c41ebd1f..edfb58b74c235b28fe2a2630e10bfa6df9b24398:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 1cd1afe460..1f4d44c86d 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -773,6 +773,16 @@ # endif #endif /* wxUSE_UNICODE_MSLU */ +#if wxUSE_ODBC && wxUSE_UNICODE +# ifdef wxABORT_ON_CONFIG_ERROR + /* (ODBC classes aren't Unicode-compatible yet) */ +# error "wxUSE_ODBC can't be used with wxUSE_UNICODE" +# else +# undef wxUSE_ODBC +# define wxUSE_ODBC 0 +# endif +#endif /* wxUSE_ODBC */ + /* the rest of the tests is for the GUI settings only */ #if wxUSE_GUI