From 5d36ad180e76cd2f2639bb7387bc8893c7099172 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 11 Feb 2006 15:42:01 +0000 Subject: [PATCH] wxArchive depends on wxDateTime (part of patch 1203970) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 48677540e1..d034ae1acd 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -831,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"