X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2049ba38adafa0ec146880de29f26e32dd69a125..bd5e2346d39a5465b8b15da90cef6138735fd76b:/include/wx/odbc.h diff --git a/include/wx/odbc.h b/include/wx/odbc.h index ba9d3220ca..607bbcfa18 100644 --- a/include/wx/odbc.h +++ b/include/wx/odbc.h @@ -11,20 +11,28 @@ #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 #endif +#ifdef __WXGTK__ +extern "C" { +#include <../iodbc/postgres/isqlext.h> +#include <../iodbc/postgres/odbc_funcs.h> +#include <../iodbc/postgres/odbc_types.h> +} +#else #include +#endif #include "wx/defs.h" #include "wx/list.h" @@ -323,4 +331,4 @@ class WXDLLEXPORT wxRecordSet: public wxObject #endif -#endif // USE_ODBC +#endif // wxUSE_ODBC