]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chkconf.h
Applied patch [ 1447732 ] Fix CVS HEAD for VC6
[wxWidgets.git] / 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"