updated support

This commit is contained in:
Michel van Kessel
2020-12-28 15:43:58 +01:00
parent 89b027f893
commit b9345ac0f3
5 changed files with 8 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
#ifndef BITCOIN_SUPPORT_ALLOCATORS_SECURE_H #ifndef BITCOIN_SUPPORT_ALLOCATORS_SECURE_H
#define BITCOIN_SUPPORT_ALLOCATORS_SECURE_H #define BITCOIN_SUPPORT_ALLOCATORS_SECURE_H
#include "support/pagelocker.h" #include <support/pagelocker.h>
#include <string> #include <string>

View File

@@ -6,7 +6,7 @@
#ifndef BITCOIN_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H #ifndef BITCOIN_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H
#define BITCOIN_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H #define BITCOIN_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H
#include "support/cleanse.h" #include <support/cleanse.h>
#include <memory> #include <memory>
#include <vector> #include <vector>

View File

@@ -3,7 +3,7 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "cleanse.h" #include <support/cleanse.h>
#include <cstring> #include <cstring>

View File

@@ -2,10 +2,10 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "support/pagelocker.h" #include <support/pagelocker.h>
#if defined(HAVE_CONFIG_H) #if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h" #include <config/bitcoin-config.h>
#endif #endif
#ifdef WIN32 #ifdef WIN32
@@ -17,7 +17,7 @@
#ifndef NOMINMAX #ifndef NOMINMAX
#define NOMINMAX #define NOMINMAX
#endif #endif
#include <windows.h> #include <compat.h>
// This is used to attempt to keep keying material out of swap // This is used to attempt to keep keying material out of swap
// Note that VirtualLock does not provide this as a guarantee on Windows, // Note that VirtualLock does not provide this as a guarantee on Windows,
// but, in practice, memory that has been VirtualLock'd almost never gets written to // but, in practice, memory that has been VirtualLock'd almost never gets written to
@@ -28,7 +28,7 @@
#include <unistd.h> // for sysconf #include <unistd.h> // for sysconf
#endif #endif
LockedPageManager* LockedPageManager::_instance = NULL; LockedPageManager* LockedPageManager::_instance = nullptr;
boost::once_flag LockedPageManager::init_flag = BOOST_ONCE_INIT; boost::once_flag LockedPageManager::init_flag = BOOST_ONCE_INIT;
/** Determine system page size in bytes */ /** Determine system page size in bytes */

View File

@@ -6,7 +6,7 @@
#ifndef BITCOIN_SUPPORT_PAGELOCKER_H #ifndef BITCOIN_SUPPORT_PAGELOCKER_H
#define BITCOIN_SUPPORT_PAGELOCKER_H #define BITCOIN_SUPPORT_PAGELOCKER_H
#include "support/cleanse.h" #include <support/cleanse.h>
#include <map> #include <map>