From 6e29fcd095cdba9b1cf879de65fd26c0d9e44c69 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Mon, 10 Mar 2025 12:44:26 +0800 Subject: [PATCH] Reenable mmap-based dump allocation on wide int configurations * src/pdumper.c (VM_SUPPORTED): Don't define to 0 when !USE_LSB_TAG if WIDE_EMACS_INT. (cherry picked from commit 94ba1b097ed12b9b77ecef4899c18b46b7e2dd36) --- src/pdumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pdumper.c b/src/pdumper.c index 166ba32eab7..de213130756 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -77,7 +77,7 @@ along with GNU Emacs. If not, see . */ #define VM_POSIX 1 #define VM_MS_WINDOWS 2 -#if !USE_LSB_TAG +#if !USE_LSB_TAG && !defined WIDE_EMACS_INT # define VM_SUPPORTED 0 #elif defined (HAVE_MMAP) && defined (MAP_FIXED) # define VM_SUPPORTED VM_POSIX -- 2.39.5