diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-10-24 15:17:53 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-10-24 15:17:53 +0200 |
commit | 74c73799ab83ac1569ddee7a3dddb12df3bc8a6d (patch) | |
tree | 126cba6e54dd1c0a70cbc18096658afea693a131 /src/database | |
parent | bf30b4498fc919ecd10d98b4ac551dca227c9ed5 (diff) | |
download | biboumi-74c73799ab83ac1569ddee7a3dddb12df3bc8a6d.tar.gz biboumi-74c73799ab83ac1569ddee7a3dddb12df3bc8a6d.tar.bz2 biboumi-74c73799ab83ac1569ddee7a3dddb12df3bc8a6d.tar.xz biboumi-74c73799ab83ac1569ddee7a3dddb12df3bc8a6d.zip |
Only compile database.cpp if configured with litesql
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/database.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp index e16465c..8d09788 100644 --- a/src/database/database.cpp +++ b/src/database/database.cpp @@ -1,3 +1,6 @@ +#include "biboumi.h" +#ifdef USE_DATABASE + #include <database/database.hpp> #include <config/config.hpp> #include <utils/xdg.hpp> @@ -52,3 +55,5 @@ void Database::close() { Database::db.reset(nullptr); } + +#endif |