X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d36ad180e76cd2f2639bb7387bc8893c7099172..5ac31f6f8d0b0bf500ad05b826798cefc9b70945:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index d034ae1acd..17016e4ba1 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -949,6 +949,17 @@ # endif #endif /* wxUSE_MIMETYPE */ +#if wxUSE_ODBC +# if !wxUSE_DATETIME +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxODBC requires wxUSE_DATETIME" +# else +# undef wxUSE_ODBC +# define wxUSE_ODBC 0 +# endif +# endif +#endif /* wxUSE_ODBC */ + #if wxUSE_TEXTFILE && !wxUSE_TEXTBUFFER # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_TEXTFILE requires wxUSE_TEXTBUFFER"