X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e115e77131d5a7a68d0cfb2fb41fcb98deefdd29..0c4234663dd458593da81c514afed27089441f7c:/include/wx/db.h diff --git a/include/wx/db.h b/include/wx/db.h index 7ba5b74748..c624086c26 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -53,7 +53,7 @@ #include #endif -#ifdef _IODBC_ +#ifdef __UNIX__ #if wxMAJOR_VERSION == 2 extern "C" { #include "../../src/iodbc/isql.h" @@ -443,7 +443,7 @@ class CstructTablesInUse : public wxObject // 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);