forked from qt-creator/qt-creator
Sqlite: Refactor static build
Don't declare all defines of the static build anymore but only the needed structs. Change-Id: I84567d302edbc839852b8a9e85f104c5f915e5e1 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -25,10 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef SQLITE_STATIC_LIBRARY
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "sqlite3_fwd.h"
|
||||
#include "sqliteglobal.h"
|
||||
|
||||
#include <utils/smallstringvector.h>
|
||||
@@ -36,8 +33,6 @@
|
||||
#include <chrono>
|
||||
#include <functional>
|
||||
|
||||
struct sqlite3;
|
||||
|
||||
namespace Sqlite {
|
||||
|
||||
class Database;
|
||||
@@ -67,7 +62,7 @@ public:
|
||||
void close();
|
||||
void closeWithoutException();
|
||||
|
||||
sqlite3* sqliteDatabaseHandle() const;
|
||||
struct sqlite3 *sqliteDatabaseHandle() const;
|
||||
|
||||
void setJournalMode(JournalMode journalMode);
|
||||
JournalMode journalMode();
|
||||
|
||||
Reference in New Issue
Block a user