X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb7d73757f9e8771e7d8fc6b22f1acf27aac35bd..d4d8988c72e26ea5ef68b87a53691da7c3751a95:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index d5766c93d3..17016e4ba1 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -25,6 +25,8 @@ # include "wx/mac/chkconf.h" #elif defined(__OS2__) # include "wx/os2/chkconf.h" +#elif defined(__WXMGL__) +# include "wx/mgl/chkconf.h" #elif defined(__WXMOTIF__) # include "wx/motif/chkconf.h" #endif @@ -829,6 +831,17 @@ check consistency of the settings */ +#if wxUSE_ARCHIVE_STREAMS +# if !wxUSE_DATETIME +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxArchive requires wxUSE_DATETIME" +# else +# undef wxUSE_ARCHIVE_STREAMS +# define wxUSE_ARCHIVE_STREAMS 0 +# endif +# endif +#endif /* wxUSE_ARCHIVE_STREAMS */ + #if wxUSE_CRASHREPORT && !wxUSE_ON_FATAL_EXCEPTION # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION" @@ -936,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"