]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
1. wxFontMapper starts to materialise
[wxWidgets.git] / include / wx / db.h
index 7ba5b74748603b4456671c307cde595eedf4b55f..c624086c265f5f26356fb374a851c322f47b9604 100644 (file)
@@ -53,7 +53,7 @@
 #include <windows.h>
 #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);