mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-12 19:36:57 +00:00
Modify it to use our mman.h
This commit is contained in:
parent
306eaa5732
commit
982c0e9cd4
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#include "arena.h"
|
#include "arena.h"
|
||||||
#include "Base/Assert.h"
|
#include "Base/Assert.h"
|
||||||
#include <sys/mman.h> // Required for mmap and MAP_FAILED
|
#include "sys/mman.h" // Required for mmap and MAP_FAILED
|
||||||
|
|
||||||
// Memory::Arena Memory::arena_init() {
|
// Memory::Arena Memory::arena_init() {
|
||||||
// // TODO(GloriousTaco): The line below is stupidly unsafe. Replace malloc with mmap() and check the return value.
|
// // TODO(GloriousTaco): The line below is stupidly unsafe. Replace malloc with mmap() and check the return value.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue