#include <windows.h>
#endif
-#ifdef _IODBC_
+#ifdef __UNIX__
#if wxMAJOR_VERSION == 2
extern "C" {
#include "../../src/iodbc/isql.h"
#if __WXDEBUG__ > 0
+#include "wx/object.h"
class CstructTablesInUse : public wxObject
{
public:
// for other code segments to use, or close all of them when the application has
// completed.
-wxDB* WXDLLEXPORT GetDbConnection(DbStuff *pDbStuff);
+wxDB WXDLLEXPORT *GetDbConnection(DbStuff *pDbStuff);
bool WXDLLEXPORT FreeDbConnection(wxDB *pDb);
void WXDLLEXPORT CloseDbConnections(void);
int WXDLLEXPORT NumberDbConnectionsInUse(void);