util: Work around (virtual) memory exhaustion on 32-bit w/ glibc
[bitcoinplatinum.git] / src / test / testutil.cpp
blobe6d86229796b2e9f72c217364fd6d7872a056b74
1 // Copyright (c) 2009-2016 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #include "testutil.h"
7 #ifdef WIN32
8 #include <shlobj.h>
9 #endif
11 #include <boost/filesystem.hpp>
13 boost::filesystem::path GetTempPath() {
14 return boost::filesystem::temp_directory_path();