From 52339e3a90528a7eb5893e89068ed0cb9301971f Mon Sep 17 00:00:00 2001 From: Bruno S Marques Date: Thu, 20 Aug 2026 18:25:59 +0000 Subject: [PATCH] Move mmap macro from linux to unix --- arena.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arena.h b/arena.h index 7ec4c8f..c943ac8 100644 --- a/arena.h +++ b/arena.h @@ -36,7 +36,7 @@ #endif #define ARENA_BACKEND_LIBC_MALLOC 0 -#define ARENA_BACKEND_LINUX_MMAP 1 +#define ARENA_BACKEND_UNIX_MMAP 1 #define ARENA_BACKEND_WIN32_VIRTUALALLOC 2 #define ARENA_BACKEND_WASM_HEAPBASE 3 @@ -166,7 +166,7 @@ void free_region(Region *r) { free(r); } -#elif ARENA_BACKEND == ARENA_BACKEND_LINUX_MMAP +#elif ARENA_BACKEND == ARENA_BACKEND_UNIX_MMAP #include #include