Modify it to use our mman.h

This commit is contained in:
ownedbywuigi 2025-07-08 04:13:19 +01:00
parent 306eaa5732
commit 982c0e9cd4

View file

@ -1,6 +1,6 @@
#include "arena.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() {
// // TODO(GloriousTaco): The line below is stupidly unsafe. Replace malloc with mmap() and check the return value.