]> git.saurik.com Git - wxWidgets.git/commitdiff
wxArchive depends on wxDateTime (part of patch 1203970)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 11 Feb 2006 15:42:01 +0000 (15:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 11 Feb 2006 15:42:01 +0000 (15:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index 48677540e11eef5898ccf0476fa21027410831fe..d034ae1acd44802ac38da12ae2403045b1a01575 100644 (file)
    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"