DbList WXDLLEXPORT *PtrBegDbList = 0;
-#if __WXDEBUG__ > 0
+#ifdef __WXDEBUG__
extern wxList TablesInUse;
#endif
+
// SQL Log defaults to be used by GetDbConnection
enum sqlLog SQLLOGstate = sqlLogOFF;
RETCODE retcode;
-#if wxODBC_FWD_ONLY_CURSORS
+#if !wxODBC_FWD_ONLY_CURSORS
// Specify that the ODBC cursor library be used, if needed. This must be
// specified before the connection is made.
// There should be zero Ctable objects still connected to this db object
assert(nTables == 0);
-#if __WXDEBUG__ > 0
+#ifdef __WXDEBUG__
CstructTablesInUse *tiu;
wxNode *pNode;
pNode = TablesInUse.First();