Fixed Linux build.
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user