diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-11-15 14:28:51 -0500 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2011-11-15 17:00:38 -0500 |
commit | 831d24a19d6687edfcce54bc0be0dcad8899fc30 (patch) | |
tree | e1d21b4eee291282f9e4fedea970ec2a11de6b2d /src | |
parent | 1aafd7464f67e0ba42b18a08070a86a427e28c72 (diff) |
Tweak handling of boost filesystem versions
(partial cherry pick)
Diffstat (limited to 'src')
-rw-r--r-- | src/db.cpp | 2 |
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(); |