From 3c961e4397119ef7a8aeee2131e1af77a1449ce4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 27 Nov 2020 20:56:19 +0100 Subject: [PATCH] ssfmalloc tests: Port to macOS 11. * tests/test-ssfmalloc.c (PAGESIZE_MAX): Set to 16384, not 8192. --- ChangeLog | 5 +++++ tests/test-ssfmalloc.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4abff03b28..bf29984838 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-11-27 Bruno Haible + + ssfmalloc tests: Port to macOS 11. + * tests/test-ssfmalloc.c (PAGESIZE_MAX): Set to 16384, not 8192. + 2020-11-26 Bruno Haible Fix dependencies of modules that use '_exit' on native Windows. diff --git a/tests/test-ssfmalloc.c b/tests/test-ssfmalloc.c index 86fa42bf84..397fa98ac1 100644 --- a/tests/test-ssfmalloc.c +++ b/tests/test-ssfmalloc.c @@ -124,12 +124,12 @@ free_pages (uintptr_t pages, size_t size) /* ======================= Instantiate the front end ======================= */ #define PAGESIZE pagesize -/* On Cygwin and Linux/PowerPC, PAGESIZE is 65536. On all other platforms, it - is either 4096 or 8192. */ +/* On Cygwin and Linux/PowerPC, PAGESIZE is 65536. On macOS 11, it is 16384. + On all other platforms, it is either 4096 or 8192. */ #if defined __CYGWIN__ || (defined __linux__ && defined __powerpc__) # define PAGESIZE_MAX 65536 #else -# define PAGESIZE_MAX 8192 +# define PAGESIZE_MAX 16384 #endif #define ALLOC_PAGES alloc_pages -- 2.11.4.GIT