X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..a61ddc471531869786496b6f3596380ac01202ed:/include/wx/odbc.h diff --git a/include/wx/odbc.h b/include/wx/odbc.h index 5a3b3899a4..2ade1bae75 100644 --- a/include/wx/odbc.h +++ b/include/wx/odbc.h @@ -11,7 +11,7 @@ #include "wx/setup.h" -#if USE_ODBC +#if wxUSE_ODBC #ifdef __GNUG__ #pragma interface "odbc.h" @@ -24,11 +24,16 @@ #include #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 @@ -78,7 +83,7 @@ class WXDLLEXPORT wxDatabase: public wxObject bool err_occured; wxList recordSets; // Record sets: Added by JACS - + public: wxDatabase(void); ~wxDatabase(void); @@ -331,4 +336,4 @@ class WXDLLEXPORT wxRecordSet: public wxObject #endif -#endif // USE_ODBC +#endif // wxUSE_ODBC