]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
compilation fix for !MSVC
[wxWidgets.git] / include / wx / db.h
index a781b94cc33eeb4bd7a9f78c58d2543cc0e20a8d..e43e77db956f0446fefe4f7d3f9640d895f8eea8 100644 (file)
@@ -48,7 +48,7 @@
 
 #include "wx/version.h"
 
 
 #include "wx/version.h"
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "db.h"
 #endif
 
     #pragma interface "db.h"
 #endif
 
     #include "sql.h"
     #include "sqlext.h"
     #include "odbcinst.h"
     #include "sql.h"
     #include "sqlext.h"
     #include "odbcinst.h"
+#elif defined( __VMS )
+// For OpenVMS use the ones from the library
+extern "C" {
+    #include <isql.h>
+    #include <isqlext.h>
+}
 #else
 extern "C" {
     #include "wx/isql.h"
 #else
 extern "C" {
     #include "wx/isql.h"
@@ -446,7 +452,8 @@ enum wxDBMS
     dbmsVIRTUOSO,
     dbmsDB2,
     dbmsINTERBASE,
     dbmsVIRTUOSO,
     dbmsDB2,
     dbmsINTERBASE,
-    dbmsPERVASIVE_SQL
+    dbmsPERVASIVE_SQL,
+    dbmsXBASE_SEQUITER
 };
 
 
 };