]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/odbc.h
WXFARPROC prototyped as `typedef int (__stdcall *WXFARPROC)()' (does Borland
[wxWidgets.git] / include / wx / odbc.h
index 934e46270b606180155b554ce3132b916f9f7388..58d027a0839f890551ef3f416bca88c1b4208360 100644 (file)
 #ifndef __ODBCH__
 #define __ODBCH__
 
 #ifndef __ODBCH__
 #define __ODBCH__
 
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
 #include <windows.h>
 #endif
 
 #include <windows.h>
 #endif
 
+#ifdef __WXGTK__
+extern "C" {
+#include <../iodbc/postgres/isqlext.h>
+#include <../iodbc/postgres/odbc_funcs.h>
+#include <../iodbc/postgres/odbc_types.h>
+}
+#else
 #include <sqlext.h>
 #include <sqlext.h>
+#endif
 
 #include "wx/defs.h"
 #include "wx/list.h"
 
 #include "wx/defs.h"
 #include "wx/list.h"