From 759f8df30babdad86076ab30c09d15cf53c34236 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Mon, 16 Dec 2024 14:29:35 -0500 Subject: [PATCH] Pretend NO_MMAP because asan works better with posix_memalign --- gc/default/default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc/default/default.c b/gc/default/default.c index c0e79538422b15..92bc88ce0c1fbb 100644 --- a/gc/default/default.c +++ b/gc/default/default.c @@ -662,7 +662,7 @@ enum { /* Must define either HEAP_PAGE_ALLOC_USE_MMAP or * INIT_HEAP_PAGE_ALLOC_USE_MMAP. */ -#ifndef HAVE_MMAP +#ifdef HAVE_MMAP /* We can't use mmap of course, if it is not available. */ static const bool HEAP_PAGE_ALLOC_USE_MMAP = false;