X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d3820b348955b748fa0ab3076f4ed9763ce4bee..7f555861b7e50f335c7b929bb76be38e9ebd69c5:/include/wx/odbc.h diff --git a/include/wx/odbc.h b/include/wx/odbc.h index 934e46270b..5a3b3899a4 100644 --- a/include/wx/odbc.h +++ b/include/wx/odbc.h @@ -17,14 +17,22 @@ #pragma interface "odbc.h" #endif -#ifndef __ODBCH__ -#define __ODBCH__ +#ifndef _WX_ODBCH__ +#define _WX_ODBCH__ -#ifdef __WINDOWS__ +#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"