aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqliteWx/dbsqlitewxinstance.h
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/DbSqliteWx/dbsqlitewxinstance.h')
-rw-r--r--Plugins/DbSqliteWx/dbsqlitewxinstance.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/Plugins/DbSqliteWx/dbsqlitewxinstance.h b/Plugins/DbSqliteWx/dbsqlitewxinstance.h
index 66fcf7e..bc313af 100644
--- a/Plugins/DbSqliteWx/dbsqlitewxinstance.h
+++ b/Plugins/DbSqliteWx/dbsqlitewxinstance.h
@@ -2,10 +2,20 @@
#define DBSQLITEWXINSTANCE_H
#include "db/abstractdb3.h"
-#include "wxsqlite3.h"
+
+#ifdef WXSQLITE_SYSTEM_LIB
+# include "wxsqlite3_unmodified.h"
+#else
+# include "wxsqlite3.h"
+#endif
+
#include "db/stdsqlite3driver.h"
+#ifdef WXSQLITE_SYSTEM_LIB
+STD_SQLITE3_DRIVER(WxSQLite, "WxSQLite3",,)
+#else
STD_SQLITE3_DRIVER(WxSQLite, "WxSQLite3", wx_,)
+#endif
class DbSqliteWxInstance : public AbstractDb3<WxSQLite>
{