diff options
| author | Gavin Andresen <[email protected]> | 2011-11-15 14:28:51 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-11-15 14:30:24 -0500 |
| commit | c4de918478dbcf72a9f76b27435bd1d892e1e339 (patch) | |
| tree | c9d7ad5fc70eac52351d22048f135c1169a8219d | |
| parent | Fix crash-on-osx-on-shutdown bug. And cleanup CDB handling in Rewrite. (diff) | |
| download | discoin-c4de918478dbcf72a9f76b27435bd1d892e1e339.tar.xz discoin-c4de918478dbcf72a9f76b27435bd1d892e1e339.zip | |
Tweak handling of boost filesystem versions
| -rw-r--r-- | bitcoin-qt.pro | 2 | ||||
| -rw-r--r-- | src/db.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index a8f6b2d86..e7adabe75 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -256,7 +256,7 @@ windows:RC_FILE = src/qt/res/bitcoin-qt.rc macx:HEADERS += src/qt/macdockiconhandler.h macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit -macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0 BOOST_FILESYSTEM_VERSION=3 +macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0 macx:ICON = src/qt/res/icons/bitcoin.icns macx:TARGET = "Bitcoin-Qt" diff --git a/src/db.cpp b/src/db.cpp index 643ed1f7a..efd2a375e 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(); |