include wx/thread.h in debug build which is needed after last change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-03-08 14:57:42 +00:00
parent a757b4a725
commit f89919f5e9
2 changed files with 4 additions and 16 deletions

View File

@ -62,6 +62,8 @@ wxChar const *SQL_LOG_FILENAME = wxT("sqllog.txt");
wxChar const *SQL_CATALOG_FILENAME = wxT("catalog.txt");
#ifdef __WXDEBUG__
#include "wx/thread.h"
extern wxList TablesInUse;
extern wxCriticalSection csTablesInUse;
#endif

View File

@ -28,11 +28,6 @@
#endif
#ifdef DBDEBUG_CONSOLE
#if wxUSE_IOSTREAMH
#include <iostream.h>
#else
#include <iostream>
#endif
#include "wx/ioswrap.h"
#endif
@ -44,21 +39,12 @@
#include "wx/dbtable.h"
#ifdef __UNIX__
// The HPUX preprocessor lines below were commented out on 8/20/97
// because macros.h currently redefines DEBUG and is unneeded.
// # ifdef HPUX
// # include <macros.h>
// # endif
# ifdef LINUX
# include <sys/minmax.h>
# endif
#endif
ULONG lastTableID = 0;
#ifdef __WXDEBUG__
#include "wx/thread.h"
wxList TablesInUse;
wxCriticalSection csTablesInUse;
#endif