diff options
Diffstat (limited to 'src/sql/drivers')
-rw-r--r-- | src/sql/drivers/sqlite/qsql_sqlite.cpp | 17 | ||||
-rw-r--r-- | src/sql/drivers/sqlite3/qsql_sqlite3.cpp | 14 |
2 files changed, 7 insertions, 24 deletions
diff --git a/src/sql/drivers/sqlite/qsql_sqlite.cpp b/src/sql/drivers/sqlite/qsql_sqlite.cpp index 92a66c72e..b7b7aa5e3 100644 --- a/src/sql/drivers/sqlite/qsql_sqlite.cpp +++ b/src/sql/drivers/sqlite/qsql_sqlite.cpp @@ -17,20 +17,11 @@ #include <ntqdatetime.h> #include <ntqregexp.h> #include <ntqfile.h> - -#if (TQT_VERSION-0 < 0x030000) -# include <ntqvector.h> -# if !defined Q_WS_WIN32 -# include <unistd.h> -# endif -# include "../../../3rdparty/libraries/sqlite/sqlite.h" -#else -# include <ntqptrvector.h> -# if !defined Q_WS_WIN32 -# include <unistd.h> -# endif -# include <sqlite.h> +#include <ntqptrvector.h> +#if !defined Q_WS_WIN32 +# include <unistd.h> #endif +#include <sqlite.h> typedef struct sqlite_vm sqlite_vm; diff --git a/src/sql/drivers/sqlite3/qsql_sqlite3.cpp b/src/sql/drivers/sqlite3/qsql_sqlite3.cpp index 4d79cb4ea..a0d9ac558 100644 --- a/src/sql/drivers/sqlite3/qsql_sqlite3.cpp +++ b/src/sql/drivers/sqlite3/qsql_sqlite3.cpp @@ -19,17 +19,9 @@ #include <ntqregexp.h> #include <ntqfile.h> #include <sqlite3.h> - -#if (TQT_VERSION-0 < 0x030200) -# include <ntqvector.h> -# if !defined Q_WS_WIN32 -# include <unistd.h> -# endif -#else -# include <ntqptrvector.h> -# if !defined Q_WS_WIN32 -# include <unistd.h> -# endif +#include <ntqptrvector.h> +#if !defined Q_WS_WIN32 +# include <unistd.h> #endif typedef struct sqlite3_stmt sqlite3_stmt; |