]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/odbc.h
const added to GetBitmap it was my fault.
[wxWidgets.git] / include / wx / odbc.h
index ed73055dedcc1f2d6e03c575b4556b8a26de862f..5a3b3899a4c6d167c7f9b6578060c5d57398c497 100644 (file)
 #pragma interface "odbc.h"
 #endif
 
-#ifndef __ODBCH__
-#define __ODBCH__
+#ifndef _WX_ODBCH__
+#define _WX_ODBCH__
 
 #ifdef __WXMSW__
 #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>
 #endif