056aba2b4f
Minimum boost version was bumped to 1.47.0 in #8920, which means the configure step won't even pass with older boost. This version has boost filesystem v3, which means the (crappy) fallbacks for older versions can go.
15 lines
387 B
C++
15 lines
387 B
C++
// Copyright (c) 2009-2016 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#include "testutil.h"
|
|
|
|
#ifdef WIN32
|
|
#include <shlobj.h>
|
|
#endif
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
boost::filesystem::path GetTempPath() {
|
|
return boost::filesystem::temp_directory_path();
|
|
}
|