BlockCache (Linux version)

This commit is contained in:
SChernykh
2021-08-24 12:36:59 +02:00
parent bf5db3db08
commit 1cf4071f9b
3 changed files with 69 additions and 6 deletions
+7
View File
@@ -60,11 +60,18 @@
#endif
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#elif defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION)
#include <unistd.h>
#include <sys/mman.h>
#endif
namespace p2pool {