#include "wx/setup.h"
-#if USE_ODBC
+#if wxUSE_ODBC
#ifdef __GNUG__
#pragma interface "odbc.h"
#endif
-#ifndef __ODBCH__
-#define __ODBCH__
+#ifndef _WX_ODBCH__
+#define _WX_ODBCH__
#ifdef __WXMSW__
#include <windows.h>
#endif
+
#ifdef __WXGTK__
extern "C" {
-#include <../iodbc/postgres/isqlext.h>
-#include <../iodbc/postgres/odbc_funcs.h>
-#include <../iodbc/postgres/odbc_types.h>
+#include "../../src/iodbc/isql.h"
+#include "../../src/iodbc/isqlext.h"
+#include "../../src/iodbc/odbc_funcs.h"
+#include "../../src/iodbc/odbc_types.h"
+typedef float SFLOAT;
+typedef double SDOUBLE;
+#define ULONG UDWORD
}
#else
#include <sqlext.h>
bool err_occured;
wxList recordSets; // Record sets: Added by JACS
-
+
public:
wxDatabase(void);
~wxDatabase(void);
#endif
-#endif // USE_ODBC
+#endif // wxUSE_ODBC