mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Fixed Linux build.
This commit is contained in:
parent
fc655d1b8d
commit
8dc586283f
2 changed files with 2 additions and 1 deletions
|
@ -134,6 +134,7 @@ else()
|
||||||
"${SOURCES_OS}"
|
"${SOURCES_OS}"
|
||||||
src/App_unix.cpp
|
src/App_unix.cpp
|
||||||
src/common/Platform_unix.cpp
|
src/common/Platform_unix.cpp
|
||||||
|
src/Mem_unix.cpp
|
||||||
src/crypto/common/VirtualMemory_unix.cpp
|
src/crypto/common/VirtualMemory_unix.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ void xmrig::VirtualMemory::flushInstructionCache(void *p, size_t size)
|
||||||
|
|
||||||
void xmrig::VirtualMemory::freeLargePagesMemory(void *p, size_t size)
|
void xmrig::VirtualMemory::freeLargePagesMemory(void *p, size_t size)
|
||||||
{
|
{
|
||||||
munmap(memory, size);
|
munmap(p, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue