]> git.saurik.com Git - wxWidgets.git/commitdiff
include wx/thread.h in debug build which is needed after last change
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Mar 2007 14:57:42 +0000 (14:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Mar 2007 14:57:42 +0000 (14:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/db.cpp
src/common/dbtable.cpp

index a881c22c4c32ff5dd3548b4d4b7b68ebc61e5d96..be855ba25c3fb6831e928647053d1b88c3b81f05 100644 (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
index 2596771ee701e0324d4d7400d4abca046589a453..fff7942cae7de1ab242c92abedf73ae823359e52 100644 (file)
 #endif
 
 #ifdef DBDEBUG_CONSOLE
-#if wxUSE_IOSTREAMH
-    #include <iostream.h>
-#else
-    #include <iostream>
-#endif
     #include "wx/ioswrap.h"
 #endif
 
 
 #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