version 1.1.1.1, 2019/01/22 08:21:14 |
version 1.2, 2019/07/16 16:35:24 |
|
|
Index: src/Mem_unix.cpp |
Index: src/Mem_unix.cpp |
--- src/Mem_unix.cpp.orig |
--- src/Mem_unix.cpp.orig |
+++ src/Mem_unix.cpp |
+++ src/Mem_unix.cpp |
@@ -55,7 +55,7 @@ void Mem::allocate(MemInfo &info, bool enabled) |
@@ -56,7 +56,7 @@ void Mem::allocate(MemInfo &info, bool enabled) |
# elif defined(__FreeBSD__) |
# elif defined(__FreeBSD__) |
info.memory = static_cast<uint8_t*>(mmap(0, info.size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_ALIGNED_SUPER | MAP_PREFAULT_READ, -1, 0)); |
info.memory = static_cast<uint8_t*>(mmap(0, info.size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_ALIGNED_SUPER | MAP_PREFAULT_READ, -1, 0)); |
# else |
# else |