mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 07:37:54 +00:00
Tweak handling of boost filesystem versions
This commit is contained in:
parent
8d0923109d
commit
c4de918478
@ -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"
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user