aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletutil.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-10-15 13:50:00 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-10-20 13:44:43 +0000
commit7b54d768e1514b328e1ac108d3db2f1bac3ba7ff (patch)
treeace67c61cc90f8b2dabbf5dbf47cdd2cf13404e5 /src/wallet/walletutil.cpp
parent711ddce94377aea38ce30fa93b3ee8ea1d96ba98 (diff)
Make sqlite support optional (compile-time)
Diffstat (limited to 'src/wallet/walletutil.cpp')
-rw-r--r--src/wallet/walletutil.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/walletutil.cpp b/src/wallet/walletutil.cpp
index a2a55f9751..2f3e597b90 100644
--- a/src/wallet/walletutil.cpp
+++ b/src/wallet/walletutil.cpp
@@ -8,7 +8,11 @@
#include <util/system.h>
bool ExistsBerkeleyDatabase(const fs::path& path);
+#ifdef USE_SQLITE
bool ExistsSQLiteDatabase(const fs::path& path);
+#else
+# define ExistsSQLiteDatabase(path) (false)
+#endif
fs::path GetWalletDir()
{