Changeset View
Changeset View
Standalone View
Standalone View
src/support/lockedpool.cpp
// Copyright (c) 2016 The Bitcoin Core developers | // Copyright (c) 2016 The Bitcoin Core developers | ||||
// 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/cleanse.h> | #include <support/cleanse.h> | ||||
#include <support/lockedpool.h> | #include <support/lockedpool.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 | ||||
#define WIN32_LEAN_AND_MEAN 1 | |||||
#ifndef NOMINMAX | #ifndef NOMINMAX | ||||
#define NOMINMAX | #define NOMINMAX | ||||
#endif | #endif | ||||
#include <windows.h> | #include <windows.h> | ||||
#else | #else | ||||
#include <climits> // for PAGESIZE | #include <climits> // for PAGESIZE | ||||
#include <sys/mman.h> // for mmap | #include <sys/mman.h> // for mmap | ||||
#include <sys/resource.h> // for getrlimit | #include <sys/resource.h> // for getrlimit | ||||
▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines |