diff --git a/src/JitCompilerX86.cpp b/src/JitCompilerX86.cpp index 9fb106a..f5740fb 100644 --- a/src/JitCompilerX86.cpp +++ b/src/JitCompilerX86.cpp @@ -27,6 +27,9 @@ along with RandomX. If not, see. #else #include #include +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif #endif namespace RandomX { diff --git a/src/dataset.cpp b/src/dataset.cpp index dc16a4e..dee40c5 100644 --- a/src/dataset.cpp +++ b/src/dataset.cpp @@ -131,6 +131,12 @@ namespace RandomX { } } + template + void initBlock(const uint8_t*, uint8_t*, uint32_t, const KeysContainer&); + + template + void initBlock(const uint8_t*, uint8_t*, uint32_t, const KeysContainer&); + template convertible_t datasetReadLight(addr_t addr, MemoryRegisters& memory) { convertible_t data;