aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-11-15 14:28:51 -0500
committerLuke Dashjr <luke-jr+git@utopios.org>2011-11-15 17:00:38 -0500
commit831d24a19d6687edfcce54bc0be0dcad8899fc30 (patch)
treee1d21b4eee291282f9e4fedea970ec2a11de6b2d /src
parent1aafd7464f67e0ba42b18a08070a86a427e28c72 (diff)
Tweak handling of boost filesystem versions
(partial cherry pick)
Diffstat (limited to 'src')
-rw-r--r--src/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 023dc5947a..b48be7ab75 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -51,7 +51,7 @@ static void EnvShutdown(bool fRemoveLogFiles)
while (it != filesystem::directory_iterator())
{
const filesystem::path& p = it->path();
-#if BOOST_FILESYSTEM_VERSION == 3
+#if BOOST_FILESYSTEM_VERSION >= 3
std::string f = p.filename().generic_string();
#else
std::string f = p.filename();