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

include/wx/chkconf.h

index d034ae1acd44802ac38da12ae2403045b1a01575..17016e4ba1893f21208f0ee169d4cec0c1666211 100644 (file)
 #   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"